CN115150345B - Management method and device of BMC of white-box switch and white-box switch - Google Patents

Management method and device of BMC of white-box switch and white-box switch Download PDF

Info

Publication number
CN115150345B
CN115150345B CN202210750511.XA CN202210750511A CN115150345B CN 115150345 B CN115150345 B CN 115150345B CN 202210750511 A CN202210750511 A CN 202210750511A CN 115150345 B CN115150345 B CN 115150345B
Authority
CN
China
Prior art keywords
bmc
switch
group
management
bmcs
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
CN202210750511.XA
Other languages
Chinese (zh)
Other versions
CN115150345A (en
Inventor
梁盛楠
朱英澍
曹风兵
薛广营
李鹏翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210750511.XA priority Critical patent/CN115150345B/en
Publication of CN115150345A publication Critical patent/CN115150345A/en
Application granted granted Critical
Publication of CN115150345B publication Critical patent/CN115150345B/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
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Landscapes

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

Abstract

The application relates to a management method and device of BMC of a white-box switch and the white-box switch, wherein the method comprises the following steps: the BMC of the group leader switch is connected with the management switch through a first network interface so as to access the management network; the BMC of the group leader switch is connected with the first network interfaces of the BMCs of the group leader switches through the management switch board so as to form a local area network with the BMCs of the group leader switches; the BMC of the group leader switch distributes IP addresses to the BMC of each group leader switch based on a dynamic host configuration protocol; receiving registration information sent by the BMC of each member switch after being distributed to the IP address, and determining the on-line state of the BMC of each member switch according to the received registration information; and receiving monitoring information sent by the BMC of each member switch, and managing the BMC of each member switch according to the received monitoring information.

Description

Management method and device of BMC of white-box switch and white-box switch
Technical Field
The present application relates to the field of computer technologies, and in particular, to a management method and apparatus for a BMC of a white box switch, and a white box switch.
Background
With development of cloud computing and big data, big data centers appear as bamboo shoots after rain, and a white box switch is typically disposed on Top of each server cabinet (or Rack) in the data center, and a switch disposed on Top of the cabinet is also called a TOR (Top of Rack) switch. In a large-scale data center, the number of deployed TOR switches is very considerable, and the TOR switches include BMCs, so how to effectively manage the BMCs in the TOR switches is a problem to be solved. The BMC (Baseboard Manager Controller baseboard management controller) is a control chip on the white box switch, which can remotely operate the CPU, can remotely monitor some performance indexes (such as sensor reading values, alarm management, log management and the like) of the switch, and can execute a series of operations of switching on and off operations, system upgrading, equipment checking and the like on the switch. In addition, at the top of each server cabinet, a TOR (access switch disposed at the top of the TOR SW Top of Rack Switch server cabinet) switch is generally disposed, and a BMC dedicated management port of the switch is connected to a unified management switch upwards, and then the BMC of the TOR switch is connected to a management network to allocate an IP address.
Referring to fig. 1, a BMC dedicated management network port of each TOR switch is connected to a unified management switch to access a management network, and is allocated to an IP address of the management network for later operation and maintenance.
However, the inventor has noted that the management network architecture has some drawbacks, that is, in the management network architecture, the BMC of each TOR switch allocates a separate IP (Internet Protocol, network protocol) address, and as the size of the data center increases, the IP in the management network is managed
The address will be quickly occupied and exhausted, which in turn results in insufficient IP addresses for the management network; in addition, since the BMC of each TOR switch is independent, it is difficult to locate the failure location once a problem arises.
Disclosure of Invention
The application aims at the defects or shortcomings and provides a transportation path determining method, a transportation path determining device, computer equipment and a storage medium.
According to a first aspect, the present application provides a method for managing a BMC of a white-box switch, in one embodiment, the method is applied to a BMC of a group leader switch, and the BMC of the group leader switch is connected to the management switch through a first network interface to access a management network; the BMC of the group leader switch is connected with a first network interface of BMCs of a plurality of group leader switches through a management switch board to form a local area network with the BMCs of the plurality of group leader switches, and the method comprises the following steps:
assigning an IP address to the BMC of each panelist switch based on a dynamic host configuration protocol;
receiving registration information sent by the BMC of each panelist switch after being distributed to the IP address, and determining the on-line state of the BMC of each panelist switch according to the received registration information;
and receiving monitoring information sent by the BMC of each panelist switch, and managing the BMC of each panelist switch according to the received monitoring information.
In one embodiment, the registration information sent by the BMC of each panelist switch is registration information that is registered with the BMC of the panelist switch through the restful interface after the BMC of each panelist switch is assigned an IP address.
In one embodiment, determining the presence status of the BMC of each panelist switch based on the received registration information includes:
generating a panelist information table according to the registration information, wherein the panelist information table comprises BMC real-time registration information of each panelist;
sending push information to BMCs of each panelist switch periodically according to the panelist information table;
the on-line status of the BMC of each panelist switch is determined based on feedback received from the BMC of each panelist switch, the feedback generated by the panelist switch based on the received push information.
In one embodiment, managing the BMC of each panelist switch based on the received monitoring information includes:
receiving a setting instruction or an information viewing instruction of a user for the BMC of a target group member switch in the BMCs of the group member switches through a visual page of the BMCs of the group member switches;
responding to the setting instruction, and executing setting operation on the BMC of the target group member switch;
and responding to the information viewing instruction, acquiring corresponding target information from monitoring information uploaded in advance by the BMC of the target member switch, and displaying the target information through a visual page.
In one embodiment, the BMC of the group leader switch refers to the BMC of the group leader switch, and the BMC of the panelist switch refers to the BMC of the panelist switch; the group leader switch and the group member switch are both white box switches, and the group leader switch is obtained by adding a management switch board into the group member switch.
The present application also provides a method for bulk management of BMCs of a white-box switch according to another aspect, in an embodiment, the method includes:
configuring BMC of the white-box switch to be managed as a plurality of management groups, and forming a management network by the plurality of management groups and the management switch; BMC refers to baseboard management controller;
wherein, BMC of one white box exchanger in each management group is configured as group leader BMC, BMC of other white box exchangers is configured as group member BMC, each group leader BMC is connected with each group member BMC of the same group through a management exchange board;
distributing IP addresses in a management network for each group of long BMCs;
setting each group of long BMCs to allocate IP addresses to each group member BMC of the same group based on a dynamic host configuration protocol, and managing each group member BMC of the same group.
In one embodiment, the method further comprises:
setting each group member BMC to register the registration information of the equipment to the group member BMC of the same group through a restful interface after obtaining the IP address distributed by the group member BMC of the same group;
and setting the BMCs of the group to manage the online state of the BMCs of the members of the same group according to the received registration information.
In one embodiment, the method further comprises:
setting each group member BMC to send monitoring information to the group leader BMCs of the same group;
and setting each group member BMC to manage each group member BMC of the same group according to the received monitoring information.
The application also provides a management device of the BMC of the white-box switch according to another aspect, in one embodiment, the device is applied to the BMC of the group leader switch, and the BMC of the group leader switch is connected with the management switch through a first network interface so as to access a management network; the BMC of the group leader switch is connected with the first network interfaces of BMCs of the plurality of group leader switches through the management switch board to form a local area network with the BMCs of the plurality of group leader switches, and the device comprises:
the IP address allocation module is used for allocating IP addresses to BMCs of each panelist switch based on the dynamic host configuration protocol;
the registration information management module is used for receiving registration information sent by the BMC of each member switch after being distributed to the IP address, and determining the on-line state of the BMC of each member switch according to the received registration information;
and the monitoring information management module is used for receiving the monitoring information sent by the BMC of each member switch and managing the BMC of each member switch according to the received monitoring information.
The present application also provides, according to another aspect, a white-box switch, which in one embodiment includes a BMC, a storage unit storing a computer program, and a management switch board; and the BMC is used for executing a computer program to realize the management method of the BMC of the white-box switch provided by any embodiment.
In the above embodiment of the present application, the BMC of the group leader switch is connected to the BMCs of the plurality of group leader switches through the first network interface to form a local area network with the BMCs of the plurality of group leader switches, and is connected to the management switch through the second network interface to access the management network; the BMC of the group leader switch allocates IP addresses to the BMCs of each group leader switch based on the dynamic host configuration protocol; receiving registration information sent by the BMC of each panelist switch after being distributed to the IP address, and determining the on-line state of the BMC of each panelist switch according to the received registration information; and receiving monitoring information sent by the BMC of each panelist switch, and managing the BMC of each panelist switch according to the received monitoring information.
Aiming at the problem that the IP address of the BMC management network is insufficient in the prior art, the embodiment of the application layers the management network architecture of the traditional white-box switch, and the new architecture is management switch-group leader-group member. Specifically, the embodiment of the application divides the BMCs of all the white-box switches to be managed into a plurality of groups, each group comprises a BMC of the white-box switch serving as a group leader (hereinafter referred to simply as a group leader BMC) and a plurality of BMCs of the white-box switch serving as a group member (hereinafter referred to simply as a group member BMC), the group leader BMCs in each group are upwards connected with the management switch to access the management network and can be accessed, and are downwards connected with each group member BMC to form a local area network, so that IP addresses can be allocated to each group member BMC and the state of each group member BMC can be managed. In addition, compared with the mode that the management network needs to directly manage all BMCs in the past, the embodiment of the application can reduce the quantity of BMCs which need to be managed by the management network by layering the management network architecture, and after all BMCs which need to be managed are divided into a plurality of groups, the quantity of the group member BMCs which need to be managed by each group member BMC is also limited, so that the management efficiency of the BMCs can be improved as a whole, and the management network is beneficial to more rapidly positioning the BMCs with problems.
Drawings
Fig. 1 is a schematic diagram of a BMC management organization mode of a conventional TOR switch;
fig. 2 is a flow chart of a method for managing BMC of a white-box switch according to an embodiment;
FIG. 3 is a schematic diagram of a fabric of a panelist switch in one embodiment;
FIG. 4 is a schematic diagram of a group leader switch in one embodiment;
FIG. 5 is a flow diagram of a member BMC sending registration information to a member BMC in one embodiment;
FIG. 6 is a flow diagram of a team leader BMC managing team member BMCs according to received monitoring information in one embodiment;
FIG. 7 is a schematic diagram of a LAN architecture in one embodiment;
fig. 8 is a block diagram of a management apparatus of a BMC of a white-box switch in an embodiment.
FIG. 9 is a flow diagram of a method for bulk management of BMCs of a white-box switch, in one embodiment;
fig. 10 is a schematic diagram of a white-box switch in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The application provides a BMC management method of a white-box switch. In this embodiment, the management organization mode of the BMC of the white-box switch is shown in fig. 2. Wherein the management switch 10 is a network management type device, which may be a local area network switch or a wide area network switch; the group leader switch 20 may be a TOR (Top of Rack) switch, and both the group leader switch and the panelist switch 30 are TOR switches, so both switches also belong to the white box switch.
In addition, this embodiment also provides an internal structure schematic diagram of the group leader switch (as shown in fig. 3), which illustrates the functional roles of each component in the internal structure of the group leader switch, and the connection relationship between the group leader switch and the group leader switch, as shown in fig. 4, where the internal part of the group leader switch in this embodiment includes: the core business module, BMC (Baseboard Manager Controller baseboard management controller), pluggable management exchange board;
wherein, the BMC in the group leader switch includes a first network interface and a second network interface, which correspond to eth1 and eth2 in fig. 4, respectively; the management Switch board comprises a Switch chip and a storage unit, and corresponds to the Switch chip and the SD card shown in FIG. 4; the first network interface (eth 1) is connected with the management switch and is accessed to the management network; the second network interface (eth 2) is connected with the switching chip; the Switch chip (Switch chip) is provided with a plurality of ports which are sequentially connected with the first network interfaces of the BMCs of the group member switches to form a local area network; the BMC of the group leader switch is connected to a storage unit in the management switch board, and in this embodiment, the storage unit may be an SD card.
The method for managing BMC of a white-box switch according to this embodiment includes steps shown in fig. 5, and is described below by taking a BMC of a group leader switch (which may be simply referred to as a group leader BMC) as an example.
S110: assigning an IP address to the BMC of each of the panelist switches based on a dynamic host configuration protocol;
s120: receiving registration information sent by the BMC of each member switch after being distributed to the IP address, and determining the on-line state of the BMC of each member switch according to the received registration information;
s130: and receiving monitoring information sent by the BMC of each member switch, and managing the BMC of each member switch according to the received monitoring information.
In this embodiment, the specific steps are: the BMC of the group leader switch is started, eth2 is set as a fixed static IP address (such as 192.168.100.10), and the DHCP (Dynamic Host Configuration Protocol ) service distributes IP addresses to the BMCs of all group leader switches in the local area network through eth 1;
after the group member exchanger successfully distributes the IP, registering own basic information including health status, MAC address, IP address, cabinet position and the like to the BMC of the group member exchanger through a customized restful interface, and automatically configuring remote log server information;
the BMC of the group leader switch receives the registration information, maintains a table of group member information, and periodically sends push information to each group member BMC to ensure the online state of the group member;
various alarming and log information of the group member exchanger can be automatically pushed to the BMC of the group leader exchanger; when some set actions such as power supply operation, user operation, firmware upgrading and the like are required to be executed on the group member switch, or the health state, physical position information and the like of the current group member are queried, the operation or the check can be directly carried out through the web page of the BMC of the group member switch, and the operation and maintenance efficiency is greatly improved.
In one embodiment, as shown in fig. 6, the registration information sent by the BMC of each panelist switch is registration information that is registered with the BMC of the panelist switch through a restful interface after the BMC of each panelist switch is allocated with an IP address, including:
s210: generating a group member information table by the group member switch according to the registration information, wherein the group member information table comprises BMC real-time registration information of each group member;
s220: sending push information to BMCs of each panelist switch periodically according to the panelist information table;
s230: the presence status of the BMC of each panelist switch is determined based on feedback received from the BMC of each panelist switch, the feedback generated by the panelist switch based on the received push information.
Through the steps of the method, after the group member switch is successfully allocated with the IP, the group member switch can register own basic information to the BMC of the group member switch through a preset restful interface. The basic information includes: health status, MAC address, IP address, cabinet location, etc., and automatically generates a team member information table. The group leader switch configures remote log server information according to the group member information table, and periodically transmits push information and receives feedback information generated from the group member switch. The push information sent by the group leader switch to the group member switch at regular intervals may be: heartbeat information, pulse information. The feedback information sent from the panelist switch may be: various alarms, log information.
In one embodiment, as shown in fig. 7, managing the BMC of each panelist switch according to the received monitoring information includes:
s310: the group leader switch receives a setting instruction or an information checking instruction of a user for the BMC of a target group leader switch in the BMCs of the group leader switches through a visual page of the BMCs of the group leader switches;
s320: responding to the setting instruction, and executing setting operation on the BMC of the target group member switch;
s330: and responding to the information viewing instruction, acquiring corresponding target information from monitoring information uploaded in advance by the BMC of the target member switch, and displaying the target information through a visual page.
In this embodiment, the BMC visualization page of the panelist may be a liquid crystal display embedded in the top of the switch, and the user may set or view the panelist switch through the liquid crystal display. Meanwhile, a setting instruction or an information viewing instruction of the BMC is displayed in a liquid crystal screen of the panelist switch.
In one embodiment, the BMC of the group leader switch is obtained by adding a management switch board to the BMC of the group leader switch.
In this embodiment, the management switch board includes: a switching chip and a memory unit;
the BMC of the group leader switch and the BMC of each group member switch communicate through the switch chip;
the BMC of each group member switch is sequentially connected with the eth1 interface of the BMC of each group member switch through each port of the switch chip; the BMC of the group leader switch is connected with the SD card in the management switch board through the eth1 interface; the SD card is used for storing information sent by the BMC of each member switch.
The present application also provides a method for bulk management of BMCs of a white-box switch according to another aspect, in an embodiment, as shown in fig. 9, the method includes:
s101: configuring BMC of the white-box switch to be managed as a plurality of management groups, and forming a management network by the plurality of management groups and the management switch; BMC refers to baseboard management controller;
the BMC of one white box switch in each management group is configured as a group leader BMC, the BMCs of the other white box switches are configured as group member BMCs, and each group leader BMC is connected with each group member BMC of the same group through a management switch board.
In this embodiment, the group leader BMC refers to the BMC of the group leader switch, and the group leader BMC refers to the BMC of the group leader switch.
S102: distributing IP addresses in a management network for each group of long BMCs;
s103: setting each group of long BMCs to allocate IP addresses to each group member BMC of the same group based on a dynamic host configuration protocol, and managing each group member BMC of the same group.
In one embodiment, the method further comprises: setting each group member BMC to register the registration information of the equipment to the group member BMC of the same group through a restful interface after obtaining the IP address distributed by the group member BMC of the same group; and setting the BMCs of the group to manage the online state of the BMCs of the members of the same group according to the received registration information.
The registration information sent by each member BMC is registration information which is registered with the member BMC through a restful interface after each member BMC is allocated with an IP address. Correspondingly, the group leader BMC determines the on-line state of each group member BMC according to the received registration information, specifically, the group leader BMC generates a group member information table according to the registration information, the group member information table contains real-time registration information of each group member BMC, then, periodically sends push information to each group member BMC according to the group member information table, and finally, determines the on-line state of each group member BMC according to the received feedback from each group member BMC, wherein the feedback is generated by the group member switch according to the received push information.
In one embodiment, the method further comprises: setting each group member BMC to send monitoring information to the group leader BMCs of the same group; and setting each group member BMC to manage each group member BMC of the same group according to the received monitoring information.
The group leader BMC manages the operation of each group member BMC according to the received monitoring information, specifically, the group leader BMC may receive a setting instruction or an information viewing instruction of a user for a target group member BMC in each group member BMC of the same group through a visual page; responding to a setting instruction, and executing setting operation on the BMC of the target group member; and responding to the information viewing instruction, acquiring corresponding target information from the monitoring information uploaded in advance by the target panelist BMC, and displaying the target information through the visual page.
As can be seen from the above embodiments, in the embodiments of the present application, the management network architecture of the conventional white-box switch is layered, and the new architecture is a management switch-group leader-group member, aiming at the problem that the IP address of the BMC management network is insufficient in the prior art. Specifically, the embodiment of the application divides the BMCs of all the white-box switches to be managed into a plurality of groups, each group comprises a BMC of the white-box switch serving as a group leader (hereinafter referred to simply as a group leader BMC) and a plurality of BMCs of the white-box switch serving as a group member (hereinafter referred to simply as a group member BMC), the group leader BMCs in each group are upwards connected with the management switch to access the management network and can be accessed, and are downwards connected with each group member BMC to form a local area network, so that IP addresses can be allocated to each group member BMC and the state of each group member BMC can be managed. In addition, compared with the mode that the management network needs to directly manage all BMCs in the past, the embodiment of the application can reduce the quantity of BMCs which need to be managed by the management network by layering the management network architecture, and after all BMCs which need to be managed are divided into a plurality of groups, the quantity of the group member BMCs which need to be managed by each group member BMC is also limited, so that the management efficiency of the BMCs can be improved as a whole, and the management network is beneficial to more rapidly positioning the BMCs with problems.
It should be noted that, for specific limitation of the method for managing BMCs of the white-box switch in batch, reference may also be made to the above limitation of the method for managing BMCs of the white-box switch, which is not repeated herein.
Based on the same inventive concept, the application also provides a BMC management device of the white box switch. In this embodiment, as shown in fig. 8, the apparatus includes the following modules:
an IP address allocation module 110, configured to allocate an IP address to the BMC of each panelist switch, where the allocation manner is based on a dynamic host configuration protocol;
the registration information management module 120 is configured to receive registration information sent by the BMC of each member switch after being allocated to an IP address, and determine an online state of the BMC of each member switch according to the received registration information;
the monitoring information management module 130 is configured to receive monitoring information sent by the BMC of each panelist switch, and manage the BMC of each panelist switch according to the received monitoring information.
In one embodiment, the registration information sent by the BMC of each panelist switch is registration information that is registered with the BMC of the panelist switch through the restful interface after the BMC of each panelist switch is assigned an IP address.
In one embodiment, the registration information management module 120 is specifically configured to:
generating a panelist information table according to the registration information, wherein the panelist information table comprises BMC real-time registration information of each panelist;
sending push information to BMCs of each panelist switch periodically according to the panelist information table;
the on-line status of the BMC of each panelist switch is determined based on feedback received from the BMC of each panelist switch, the feedback generated by the panelist switch based on the received push information.
In one embodiment, the monitoring information management module 130 is specifically configured to:
receiving a setting instruction or an information viewing instruction of a user for the BMC of a target group member switch in the BMCs of the group member switches through a visual page of the BMCs of the group member switches;
responding to the setting instruction, and executing setting operation on the BMC of the target group member switch;
and responding to the information viewing instruction, acquiring corresponding target information from monitoring information uploaded in advance by the BMC of the target member switch, and displaying the target information through a visual page.
In one embodiment, the BMC of the group leader switch refers to the BMC of the group leader switch, and the BMC of the panelist switch refers to the BMC of the panelist switch; the group leader switch and the group member switch are both white box switches, and the group leader switch is obtained by adding a management switch board into the group member switch.
As can be seen from the above embodiments, in the embodiments of the present application, the management network architecture of the conventional white-box switch is layered, and the new architecture is a management switch-group leader-group member, aiming at the problem that the IP address of the BMC management network is insufficient in the prior art. Specifically, the embodiment of the application divides the BMCs of all the white-box switches to be managed into a plurality of groups, each group comprises a BMC of the white-box switch serving as a group leader (hereinafter referred to simply as a group leader BMC) and a plurality of BMCs of the white-box switch serving as a group member (hereinafter referred to simply as a group member BMC), the group leader BMCs in each group are upwards connected with the management switch to access the management network and can be accessed, and are downwards connected with each group member BMC to form a local area network, so that IP addresses can be allocated to each group member BMC and the state of each group member BMC can be managed. In addition, compared with the mode that the management network needs to directly manage all BMCs in the past, the embodiment of the application can reduce the quantity of BMCs which need to be managed by the management network by layering the management network architecture, and after all BMCs which need to be managed are divided into a plurality of groups, the quantity of the group member BMCs which need to be managed by each group member BMC is also limited, so that the management efficiency of the BMCs can be improved as a whole, and the management network is beneficial to more rapidly positioning the BMCs with problems.
For specific limitations of the management apparatus of the BMC of the white-box switch, reference may be made to the above limitation of the management method of the BMC of the white-box switch, and the detailed description thereof will be omitted. The above-mentioned each module in the management device of the BMC of the white-box switch may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
The present application also provides a white-box switch, in one embodiment, as shown in fig. 10, the white-box switch includes a BMC, a storage unit storing a computer program, and a management switch board; and the BMC is used for executing a computer program to realize the management method of the BMC of the white-box switch provided by any embodiment.
Those skilled in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the above-described method embodiments. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. The management method of the BMC of the white-box switch is characterized in that the method is applied to the BMC of a group leader switch, and the BMC of the group leader switch is connected with a management switch through a first network interface so as to access a management network; the BMC of the group leader switch is connected with a first network interface of BMCs of a plurality of group leader switches through a management switch board to form a local area network with the BMCs of the plurality of group leader switches, and the method comprises the following steps:
assigning an IP address to the BMC of each of the panelist switches based on a dynamic host configuration protocol;
receiving registration information sent by the BMC of each member switch after being distributed to the IP address, and determining the on-line state of the BMC of each member switch according to the received registration information;
and receiving monitoring information sent by the BMC of each member switch, and managing the BMC of each member switch according to the received monitoring information.
2. The method of claim 1, wherein the registration information sent by the BMC of each of the panelist switches is registration information that the BMC of each of the panelist switches registers with the BMC of the panelist switch via a restful interface after being assigned an IP address.
3. The method of claim 1, wherein determining the presence status of the BMC of each of the panelist switches based on the received registration information comprises:
generating a panelist information table according to the registration information, wherein the panelist information table comprises BMC real-time registration information of each panelist;
sending push information to BMCs of each panelist switch periodically according to the panelist information table;
and determining the on-line state of the BMC of each member switch according to the received feedback from the BMC of each member switch, wherein the feedback is generated by the member switch according to the received push information.
4. The method of claim 1, wherein managing the BMC of each of the panelist switches based on the received monitoring information comprises:
receiving a setting instruction or an information viewing instruction of a user for the BMC of a target group member switch in the BMCs of the group member switches through a visual page of the BMCs of the group member switches;
responding to the setting instruction, and executing setting operation on the BMC of the target panelist switch;
and responding to the information viewing instruction, acquiring corresponding target information from monitoring information uploaded in advance by the BMC of the target panelist switch, and displaying the target information through the visual page.
5. The method of claim 1, wherein the BMC of the group leader switch refers to the BMC of the group leader switch and the BMC of the group leader switch refers to the BMC of the group leader switch; the group leader switch and the group member switch are white box switches, and the group leader switch is obtained by adding a management switch board into the group member switch.
6. A method for managing BMCs of a white-box switch in batches is characterized in that,
configuring BMC of a white-box switch to be managed as a plurality of management groups, and forming a management network by the plurality of management groups and the management switch; the BMC refers to a baseboard management controller;
wherein, BMC of one white box exchanger in each management group is configured as group leader BMC, BMC of other white box exchangers is configured as group member BMC, each group leader BMC is connected with each group member BMC of the same group through a management exchange board;
distributing IP addresses in the management network to each group of long BMCs;
setting each group of long BMCs to allocate IP addresses to each group member BMC of the same group based on a dynamic host configuration protocol, and managing each group member BMC of the same group.
7. The method of claim 1, wherein the method further comprises:
setting each group member BMC to register the registration information of the equipment to the group member BMC of the same group through a restful interface after obtaining the IP address distributed by the group member BMC of the same group;
and setting the BMCs of the group to manage the online state of the BMCs of the members of the same group according to the received registration information.
8. The method of claim 6 or 7, wherein the method further comprises:
setting each group member BMC to send monitoring information to the group leader BMCs of the same group;
and setting each group member BMC to manage each group member BMC of the same group according to the received monitoring information.
9. The management device of the BMC of the white box switch is characterized in that the device is applied to the BMC of a group leader switch, and the BMC of the group leader switch is connected with the management switch through a first network interface so as to access a management network; the BMC of the group leader switch is connected with a first network interface of BMCs of a plurality of group leader switches through a management switch board to form a local area network with the BMCs of the plurality of group leader switches, and the device comprises:
the IP address allocation module is used for allocating IP addresses to BMCs of the panelist switches based on a dynamic host configuration protocol;
the registration information management module is used for receiving registration information sent by the BMC of each member switch after being distributed to the IP address, and determining the on-line state of the BMC of each member switch according to the received registration information;
and the monitoring information management module is used for receiving the monitoring information sent by the BMC of each member switch and managing the BMC of each member switch according to the received monitoring information.
10. A white-box switch, characterized in that the white-box switch comprises a BMC, a memory unit storing a computer program and a management switch board; the BMC is configured to execute the computer program to implement the management method of the BMC of the white-box switch according to any one of claims 1 to 5.
CN202210750511.XA 2022-06-28 2022-06-28 Management method and device of BMC of white-box switch and white-box switch Active CN115150345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210750511.XA CN115150345B (en) 2022-06-28 2022-06-28 Management method and device of BMC of white-box switch and white-box switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210750511.XA CN115150345B (en) 2022-06-28 2022-06-28 Management method and device of BMC of white-box switch and white-box switch

Publications (2)

Publication Number Publication Date
CN115150345A CN115150345A (en) 2022-10-04
CN115150345B true CN115150345B (en) 2023-08-18

Family

ID=83410998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210750511.XA Active CN115150345B (en) 2022-06-28 2022-06-28 Management method and device of BMC of white-box switch and white-box switch

Country Status (1)

Country Link
CN (1) CN115150345B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022645A (en) * 2015-06-15 2015-11-04 山东超越数控电子有限公司 Implementation method of updating management module firmware in large scale
CN110995496A (en) * 2019-12-15 2020-04-10 苏州浪潮智能科技有限公司 Method and device for synchronizing time of white box switch in batches
US10693832B1 (en) * 2015-12-30 2020-06-23 Avago Technologies International Sales Pte. Limited Address resolution protocol operation in a fibre channel fabric
CN111478983A (en) * 2020-03-12 2020-07-31 苏州浪潮智能科技有限公司 Three-layer switch port IP address configuration method, system, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9197490B2 (en) * 2012-10-04 2015-11-24 Dell Products L.P. System and method for providing remote management of a switching device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022645A (en) * 2015-06-15 2015-11-04 山东超越数控电子有限公司 Implementation method of updating management module firmware in large scale
US10693832B1 (en) * 2015-12-30 2020-06-23 Avago Technologies International Sales Pte. Limited Address resolution protocol operation in a fibre channel fabric
CN110995496A (en) * 2019-12-15 2020-04-10 苏州浪潮智能科技有限公司 Method and device for synchronizing time of white box switch in batches
CN111478983A (en) * 2020-03-12 2020-07-31 苏州浪潮智能科技有限公司 Three-layer switch port IP address configuration method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN115150345A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US11204815B2 (en) Creation of modular applications with corresponding twins in the cloud
US20200067726A1 (en) Iot provisioning service
CN109844744A (en) The automatic supply of IOT equipment
WO2017140131A1 (en) Data writing and reading method and apparatus, and cloud storage system
CN107818021A (en) Find controller to the method for main frame offer NVM subsystems using BMC as NVMEOF is acted on behalf of
US20190123967A1 (en) Iot cloud to cloud architecture
US20140201356A1 (en) Monitoring system of managing cloud-based hosts and monitoring method using for the same
US11403009B2 (en) Storage system, and method and apparatus for allocating storage resources
CN108845877B (en) Method, device and system for managing memory
TW201250455A (en) System and method for controlling power devices in data center
CN103365717B (en) Memory pool access method, Apparatus and system
CN110677493B (en) Service state determination method and device, computer device and storage medium
US9594682B2 (en) Data access system, memory sharing device, and data reading method
CN108880898A (en) Active and standby containment system switching method and device
CN111698343A (en) PXE equipment positioning method and device
US20180321977A1 (en) Fault representation of computing infrastructures
CN112162852A (en) Multi-architecture CPU node management method, device and related components
CN110971480A (en) Computer network condition monitoring method and device, computer equipment and storage medium
CN112083882A (en) SRAM (static random Access memory) dead point processing method, system and device and computer equipment
CN115150345B (en) Management method and device of BMC of white-box switch and white-box switch
CN113766041B (en) Method, device, equipment and storage medium for acquiring Media Access Control (MAC) address of first server
US10931626B2 (en) Automatic discovery of management server IP address using DHCP for thin client solution
CN104394232A (en) Independent management and concentrated management method of cloud equipment
CN107147516B (en) Server, storage system and related method
WO2020093910A1 (en) Wireless access platform and switching method

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