CN111181787B - BMC parameter configuration method, device, equipment and medium - Google Patents

BMC parameter configuration method, device, equipment and medium Download PDF

Info

Publication number
CN111181787B
CN111181787B CN201911398106.0A CN201911398106A CN111181787B CN 111181787 B CN111181787 B CN 111181787B CN 201911398106 A CN201911398106 A CN 201911398106A CN 111181787 B CN111181787 B CN 111181787B
Authority
CN
China
Prior art keywords
target
bmc
local
parameter configuration
service program
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
CN201911398106.0A
Other languages
Chinese (zh)
Other versions
CN111181787A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201911398106.0A priority Critical patent/CN111181787B/en
Publication of CN111181787A publication Critical patent/CN111181787A/en
Application granted granted Critical
Publication of CN111181787B publication Critical patent/CN111181787B/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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

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

Abstract

The application discloses a BMC parameter configuration method, a device, equipment and a medium, wherein the method comprises the following steps: acquiring a target IP of a target BMC (baseboard management controller) received by a target switch and sent by a preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, the application firstly obtains the target IP of the target BMC, which is received by the target switch and sent by the preset service program in the target BMC, accesses the target BMC by using the target IP, and configures parameters of the target BMC through the WEB interface of the target BMC, thus obtaining the IP of the BMC, accessing the BMC through the IP and configuring the parameters of the BMC, and realizing remote maintenance of the server node.

Description

BMC parameter configuration method, device, equipment and medium
Technical Field
The present application relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a medium for configuring BMC parameters.
Background
The non-X86 server platforms such as ARM64 and MIPS are called heterogeneous platforms, at present, servers based on heterogeneous platforms are relatively late in starting, and hardware interfaces are not perfect enough, so that access to BMCs (Baseboard Manager Controller and baseboard management controllers) is not supported in an operating system and even in a BIOS (Basic Input Output System ), when the IP of the corresponding BMC is lost, modification and reset of the IP of the BMC are difficult, and corresponding parameters of the BMC are configured, so that node maintenance is inconvenient.
Disclosure of Invention
Accordingly, the present application is directed to a method, apparatus, device, and medium for configuring BMC parameters, which can obtain an IP of a BMC, access the BMC through the IP, and configure the BMC parameters, so as to implement remote maintenance on a server node. The specific scheme is as follows:
in a first aspect, the present application discloses a BMC parameter configuration method, applied to a target client, comprising:
acquiring a target IP of a target BMC (baseboard management controller) received by a target switch and sent by a preset service program in the target BMC, wherein the preset service program is an LLDP-based service program;
accessing the target BMC by utilizing the target IP;
and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
Optionally, before the accessing the target BMC by using the target IP, the method further includes:
the local IP is configured so that the target BMC can be accessed using the target IP.
Optionally, the configuring the local IP includes:
acquiring a local IP configuration command generated according to the target IP;
and configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment.
In a second aspect, the present application discloses a BMC parameter configuration method, applied to a target switch, including:
when detecting that the target BMC logs in to the local, starting a local LLDP function;
acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC;
and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
Optionally, the obtaining the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC includes:
and acquiring a target IP of the target BMC, which is sent by a preset minimum service program based on LLDP in the target BMC.
In a third aspect, the present application discloses a BMC parameter configuration device, applied to a target client, including:
the information acquisition module is used for acquiring a target IP of the BMC, which is received by a target switch and sent by a preset service program in the target BMC, wherein the preset service program is an LLDP-based service program;
the BMC access module is used for accessing the target BMC by utilizing the target IP;
and the parameter configuration module is used for carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
Optionally, the BMC parameter configuration device further includes:
and the IP configuration module is used for configuring the local IP so as to be capable of accessing the target BMC by utilizing the target IP.
Optionally, the IP configuration module includes:
a command obtaining sub-module, configured to obtain a local IP configuration command generated according to the target IP;
and the IP configuration sub-module is used for configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment.
In a fourth aspect, the present application discloses a BMC parameter configuration device, including:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the foregoing disclosed BMC parameter configuration method.
In a fifth aspect, the present application discloses a computer readable storage medium for storing a computer program, where the computer program when executed by a processor implements the foregoing disclosed BMC parameter configuration method.
As can be seen, the method and the device firstly acquire the target IP of the BMC, which is received by the target switch and sent by the preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; then, accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, the application firstly obtains the target IP of the target BMC, which is received by the target switch and sent by the preset service program in the target BMC, accesses the target BMC by using the target IP, and configures parameters of the target BMC through the WEB interface of the target BMC, thus obtaining the IP of the BMC, accessing the BMC through the IP and configuring the parameters of the BMC, and realizing remote maintenance of the server node.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a BMC parameter configuration method disclosed by the application;
FIG. 2 is a flowchart of a BMC parameter configuration method disclosed in the present application;
fig. 3 is a schematic structural diagram of a BMC parameter configuration device according to the present disclosure;
fig. 4 is a schematic structural diagram of a BMC parameter configuration device according to the present disclosure;
FIG. 5 is a block diagram of a BMC parameter configuration device according to the present disclosure;
fig. 6 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, a server based on a heterogeneous platform starts later, and a hardware interface is not perfect enough, so that access to a BMC (Baseboard Manager Controller, baseboard management controller) is not supported in an operating system and even a BIOS (Basic Input Output System ), and when the IP of the corresponding BMC is lost, the IP of the BMC is difficult to modify and reset, and corresponding parameters of the BMC are configured, so that node maintenance is inconvenient. In view of this, the application provides a BMC parameter configuration method, which can obtain the IP of the BMC, access the BMC through the IP and configure the BMC parameters, and realize remote maintenance of the server node.
Referring to fig. 1, an embodiment of the application discloses a method for configuring BMC parameters, which is applied to a target client, and includes:
step S11: and acquiring a target IP of the target BMC, which is received by the target switch and sent by a preset service program in the target BMC, wherein the preset service program is an LLDP-based service program.
In a specific implementation process, the target client and the target BMC are both connected to the target switch, and first, the target IP of the target BMC received by the target switch and sent by a preset service program in the target BMC needs to be obtained, where the preset service program is a service program based on LLDP (Link Layer Discovery Protocol ). And after the target BMC is started, the preset service program sends out relevant local equipment information.
Step S12: and accessing the target BMC by using the target IP.
It will be appreciated that after the target IP is obtained, the target BMC may be accessed using the target IP. Before the target BMC is accessed by using the target IP, the method further comprises the following steps: the local IP is configured so that the target BMC can be accessed using the target IP. Wherein, the configuring the local IP includes: acquiring a local IP configuration command generated according to the target IP; and configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment. Specifically, after the target IP is obtained, a local IP configuration command generated according to the target IP is obtained, and the local IP is configured according to the local IP configuration command, so that the local IP and the target IP are in the same network segment, and then the target IP is used for accessing the target BMC. For example, the obtained target IP is 192.168.10.10, the local IP may be set to 192.168.10.20.
Step S13: and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
In a specific implementation process, after the target BMC is successfully accessed through the target IP, parameter configuration, for example, IP reset, etc., may be performed on the target BMC through a WEB interface of the target BMC.
As can be seen, the method and the device firstly acquire the target IP of the BMC, which is received by the target switch and sent by the preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; then, accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, the application firstly obtains the target IP of the target BMC, which is received by the target switch and sent by the preset service program in the target BMC, accesses the target BMC by using the target IP, and configures parameters of the target BMC through the WEB interface of the target BMC, thus obtaining the IP of the BMC, accessing the BMC through the IP and configuring the parameters of the BMC, and realizing remote maintenance of the server node.
Referring to fig. 2, an embodiment of the present application discloses a specific BMC parameter configuration method, which is applied to a target switch, and the method includes:
step S21: and starting a local LLDP function when detecting that the target BMC logs in to the local.
In this embodiment, the corresponding network port of the target BMC needs to be connected to the target switch and the target BMC is started, and the BMC is logged in to the target switch, so when the target BMC is monitored locally to log in, the local LLDP function needs to be started so as to obtain the corresponding IP of the target BMC. The obtaining the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC includes: and acquiring a target IP of the target BMC, which is sent by a preset minimum service program based on LLDP in the target BMC. That is, the LLDP-based preset service in the target BMC may be the LLDP-based minimum service, that is, the preset service may implement only the LLDP-based functions. When the preset service program is deployed in the target BMC, the firmware in the target BMC needs to be modified correspondingly to ensure that the target BMC supports the service program based on LLDP.
Step S22: and acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC.
It can be understood that after the local LLDP function is started, the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC may be obtained. Specifically, after the local LLDP function is turned on, the local may receive a port IP corresponding to the BMC sent by the preset service program in the target BMC, where the port IP is the target IP of the target BMC.
Step S23: and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
It can be understood that after the target IP is obtained, the target IP needs to be sent to a target client connected to a local client, so that the target client accesses the target BMC by using the target IP, and parameter configuration is performed on the target BMC through a WEB interface of the target BMC.
Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started; acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC; and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started, the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC is obtained, and the target IP is sent to the target client so as to access the target BMC by using the target IP and configure corresponding parameters. Therefore, the IP of the BMC can be obtained, the BMC is accessed through the IP, and the BMC parameter configuration is carried out, so that the server node is remotely maintained.
Referring to fig. 3, an embodiment of the present application discloses a BMC parameter configuration device, which is applied to a target client, and includes:
the information obtaining module 11 is configured to obtain a target IP of a BMC, which is received by a target switch and sent by a preset service program in the target BMC, where the preset service program is an LLDP-based service program;
the BMC access module 12 is configured to access the target BMC by using the target IP;
and the parameter configuration module 13 is used for carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
As can be seen, the method and the device firstly acquire the target IP of the BMC, which is received by the target switch and sent by the preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; then, accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, the application firstly obtains the target IP of the target BMC, which is received by the target switch and sent by the preset service program in the target BMC, accesses the target BMC by using the target IP, and configures parameters of the target BMC through the WEB interface of the target BMC, thus obtaining the IP of the BMC, accessing the BMC through the IP and configuring the parameters of the BMC, and realizing remote maintenance of the server node.
Optionally, the BMC parameter configuration device further includes:
and the IP configuration module is used for configuring the local IP so as to be capable of accessing the target BMC by utilizing the target IP.
Optionally, the IP configuration module includes:
a command obtaining sub-module, configured to obtain a local IP configuration command generated according to the target IP;
and the IP configuration sub-module is used for configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment.
Referring to fig. 4, an embodiment of the present application discloses a BMC parameter configuration device, which is applied to a target switch, and includes:
an LLDP startup module 21, configured to turn on a local LLDP function when detecting that the target BMC is logged in to the local;
the IP obtaining module 22 is configured to obtain a target IP of the target BMC sent by an LLDP-based preset service program in the target BMC;
the IP sending module 23 is configured to send the target IP to a target client, so as to access the target BMC by using the target IP, so as to perform parameter configuration on the target BMC through a WEB interface of the target BMC.
Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started; acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC; and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started, the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC is obtained, and the target IP is sent to the target client so as to access the target BMC by using the target IP and configure corresponding parameters. Therefore, the IP of the BMC can be obtained, the BMC is accessed through the IP, and the BMC parameter configuration is carried out, so that the server node is remotely maintained.
Further, the IP obtaining module 22 is specifically configured to obtain the target IP of the target BMC sent by the LLDP-based preset minimum service program in the target BMC.
Further, referring to fig. 5, the embodiment of the present application further discloses a BMC parameter configuration device, including: a processor 31 and a memory 32.
Wherein the memory 32 is used for storing a computer program; the processor 31 is configured to execute the computer program to implement the BMC parameter configuration method disclosed in the foregoing embodiment.
The specific process of the foregoing BMC parameter configuration method may refer to the corresponding content disclosed in the foregoing embodiment, and will not be described herein again.
Fig. 6 is a schematic structural diagram of an electronic device 30 according to an embodiment of the present application, where the electronic device 30 may implement the BMC parameter configuration method disclosed in the foregoing embodiment.
In general, the electronic apparatus 30 in the present embodiment includes: a processor 31 and a memory 32.
Processor 31 may include one or more processing cores, such as a four-core processor, an eight-core processor, or the like, among others. The processor 31 may be implemented using at least one hardware selected from DSP (digital signal processing ), FPGA (field-programmable gate array, field programmable arrays), PLA (programmable logic array ). The processor 31 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (central processing unit, medium-sized processor), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 31 may be integrated with a GPU (graphics processing unit, image processor) for taking care of rendering and drawing of images that the display screen is required to display. In some embodiments, the processor 31 may include an AI (artificial intelligence ) processor for processing computing operations related to machine learning.
Memory 32 may include one or more computer-readable storage media, which may be non-transitory. Memory 32 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 32 is at least used for storing a computer program 321, where the computer program can implement the steps of the BMC parameter configuration method disclosed in any of the foregoing embodiments after being loaded and executed by the processor 31. The resources stored in the memory 32 may also include an operating system 322, data 323, and the like, and may be stored in a temporary manner or in a permanent manner. The operating system 322 may be Windows, unix, linux, among others. The data 323 may include a variety of data.
In some embodiments, the electronic device 30 may further include a display 33, an input-output interface 34, a communication interface 35, a sensor 36, a power supply 37, and a communication bus 38.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is not limiting of the electronic device 30 and may include more or fewer components than shown.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program, wherein the computer program realizes the following steps when being executed by a processor:
acquiring a target IP of a target BMC (baseboard management controller) received by a target switch and sent by a preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
As can be seen, the method and the device firstly acquire the target IP of the BMC, which is received by the target switch and sent by the preset service program in the target BMC, wherein the preset service program is an LLDP-based service program; then, accessing the target BMC by utilizing the target IP; and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, the application firstly obtains the target IP of the target BMC, which is received by the target switch and sent by the preset service program in the target BMC, accesses the target BMC by using the target IP, and configures parameters of the target BMC through the WEB interface of the target BMC, thus obtaining the IP of the BMC, accessing the BMC through the IP and configuring the parameters of the BMC, and realizing remote maintenance of the server node.
In this embodiment, when the computer subroutine stored in the computer readable storage medium is executed by the processor, the following steps may be specifically implemented: the local IP is configured so that the target BMC can be accessed using the target IP.
In this embodiment, when the computer subroutine stored in the computer readable storage medium is executed by the processor, the following steps may be specifically implemented: acquiring a local IP configuration command generated according to the target IP; and configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program, wherein the computer program realizes the following steps when being executed by a processor:
when detecting that the target BMC logs in to the local, starting a local LLDP function; acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC; and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started; acquiring a target IP of the target BMC, which is sent by a preset service program based on LLDP in the target BMC; and sending the target IP to a target client so as to access the target BMC by using the target IP, and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC. Therefore, when the target BMC is detected to be logged in the local, the local LLDP function is started, the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC is obtained, and the target IP is sent to the target client so as to access the target BMC by using the target IP and configure corresponding parameters. Therefore, the IP of the BMC can be obtained, the BMC is accessed through the IP, and the BMC parameter configuration is carried out, so that the server node is remotely maintained.
In this embodiment, when the computer subroutine stored in the computer readable storage medium is executed by the processor, the following steps may be specifically implemented: and acquiring a target IP of the target BMC, which is sent by a preset minimum service program based on LLDP in the target BMC.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a list of processes, methods, articles, or apparatus that comprises other elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing describes in detail a method, apparatus, device and medium for configuring BMC parameters, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (5)

1. The BMC parameter configuration method is characterized by being applied to a target client and comprising the following steps:
acquiring a target IP of a target BMC (baseboard management controller) received by the target switch and sent by a preset minimum service program in the target BMC after the target BMC is started, wherein the preset minimum service program is a service program based on a link layer discovery protocol LLDP, the target switch starts a local LLDP function after the target BMC logs in the local, and the target client and the target BMC are connected with the target switch;
acquiring a local IP configuration command generated according to the target IP; configuring a local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment;
accessing the target BMC by utilizing the target IP;
and carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
2. The BMC parameter configuration method is characterized by being applied to a target switch and comprising the following steps:
when detecting that the target BMC logs in to the local, starting a local LLDP function;
obtaining the target IP of the target BMC sent by the LLDP-based preset service program in the target BMC includes: acquiring a target IP of the target BMC, which is sent by a preset minimum service program based on LLDP in the target BMC;
the target IP is sent to a target client so that the target client obtains a local IP configuration command generated according to the target IP, and configures the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment; and accessing the target BMC by using the target IP to perform parameter configuration on the target BMC through a WEB interface of the target BMC, wherein the target client and the target BMC are connected with the target switch.
3. The BMC parameter configuration device is characterized by being applied to a target client and comprising:
the information acquisition module is used for acquiring a target IP of the BMC, which is received by a target switch and sent by a preset minimum service program in the target BMC after the target BMC is started, wherein the preset minimum service program is a service program based on a link layer discovery protocol LLDP, the target switch starts a local LLDP function after the target BMC logs in the local, and the target client and the target BMC are connected with the target switch;
the IP configuration module is used for configuring a local IP so as to be capable of accessing the target BMC by utilizing the target IP;
the IP configuration module includes: a command obtaining sub-module, configured to obtain a local IP configuration command generated according to the target IP; the IP configuration sub-module is used for configuring the local IP according to the local IP configuration command so that the local IP and the target IP are in the same network segment;
the BMC access module is used for accessing the target BMC by utilizing the target IP;
and the parameter configuration module is used for carrying out parameter configuration on the target BMC through a WEB interface of the target BMC.
4. A BMC parameter configuration apparatus, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the BMC parameter configuration method of any of claims 1 to 2.
5. A computer readable storage medium for storing a computer program, wherein the computer program when executed by a processor implements the BMC parameter configuration method according to any of claims 1 to 2.
CN201911398106.0A 2019-12-30 2019-12-30 BMC parameter configuration method, device, equipment and medium Active CN111181787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911398106.0A CN111181787B (en) 2019-12-30 2019-12-30 BMC parameter configuration method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911398106.0A CN111181787B (en) 2019-12-30 2019-12-30 BMC parameter configuration method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111181787A CN111181787A (en) 2020-05-19
CN111181787B true CN111181787B (en) 2023-10-13

Family

ID=70657596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911398106.0A Active CN111181787B (en) 2019-12-30 2019-12-30 BMC parameter configuration method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111181787B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204473B (en) * 2021-06-08 2024-05-24 宁畅信息产业(北京)有限公司 Heat dissipation test method and device, user terminal and storage medium
CN113254062B (en) * 2021-06-22 2021-11-09 苏州浪潮智能科技有限公司 Method, device, equipment and medium for configuring and taking effect of BMC (baseboard management controller) parameters
CN113676352B (en) * 2021-08-18 2023-04-07 济南浪潮数据技术有限公司 Configuration method and assembly of LLDP working mode
CN113794786B (en) * 2021-08-25 2023-12-26 新华三大数据技术有限公司 Management equipment and service system
CN114189370A (en) * 2021-11-30 2022-03-15 新华三云计算技术有限公司 Access method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516547A (en) * 2013-09-18 2014-01-15 深圳市华为技术软件有限公司 Network parameter distribution method and device
CN105786302A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Management controller and management control method
CN106021075A (en) * 2016-05-11 2016-10-12 深圳市国鑫恒宇科技有限公司 Method for implementing process of viewing BMC IP address of server mainboard at any time
CN106657434A (en) * 2016-11-24 2017-05-10 紫光华山信息技术有限公司 Method and device for checking IP address
CN107800810A (en) * 2017-11-28 2018-03-13 郑州云海信息技术有限公司 A kind of Server remote control method and system
CN107861760A (en) * 2017-11-24 2018-03-30 联想(北京)有限公司 BIOS collocation method, terminal and server
CN108134684A (en) * 2016-12-01 2018-06-08 鸿富锦精密电子(天津)有限公司 BMCIP address management system, management terminal and management method
CN108737499A (en) * 2018-04-19 2018-11-02 华为技术有限公司 server configuration method and device
CN109086090A (en) * 2018-08-28 2018-12-25 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the storage medium of server B MC configuration
CN110069290A (en) * 2019-05-07 2019-07-30 苏州浪潮智能科技有限公司 A kind of control parameter configuration method, system and the associated component of more BMC

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516547A (en) * 2013-09-18 2014-01-15 深圳市华为技术软件有限公司 Network parameter distribution method and device
CN105786302A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Management controller and management control method
CN106021075A (en) * 2016-05-11 2016-10-12 深圳市国鑫恒宇科技有限公司 Method for implementing process of viewing BMC IP address of server mainboard at any time
CN106657434A (en) * 2016-11-24 2017-05-10 紫光华山信息技术有限公司 Method and device for checking IP address
CN108134684A (en) * 2016-12-01 2018-06-08 鸿富锦精密电子(天津)有限公司 BMCIP address management system, management terminal and management method
CN107861760A (en) * 2017-11-24 2018-03-30 联想(北京)有限公司 BIOS collocation method, terminal and server
CN107800810A (en) * 2017-11-28 2018-03-13 郑州云海信息技术有限公司 A kind of Server remote control method and system
CN108737499A (en) * 2018-04-19 2018-11-02 华为技术有限公司 server configuration method and device
CN109086090A (en) * 2018-08-28 2018-12-25 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the storage medium of server B MC configuration
CN110069290A (en) * 2019-05-07 2019-07-30 苏州浪潮智能科技有限公司 A kind of control parameter configuration method, system and the associated component of more BMC

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
章仁龙.L.《英汉计算机网络辞典》.2017, *

Also Published As

Publication number Publication date
CN111181787A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111181787B (en) BMC parameter configuration method, device, equipment and medium
US11256539B2 (en) Task processing method, apparatus, and system based on distributed system
US10404538B1 (en) Remote platform configuration
CN112363775B (en) Method, system and storage medium for dynamically modifying microservice configuration information
CN113656147B (en) Cluster deployment method, device, equipment and storage medium
CN107666493B (en) Database configuration method and equipment thereof
CN109684038B (en) Docker service container log processing method and device and electronic equipment
CN108632354A (en) Physical machine receives pipe method, apparatus and cloud desktop management platform
CN110971689B (en) System installation method, device, system, equipment and storage medium
CN110780918B (en) Middleware container processing method and device, electronic equipment and storage medium
CN114995888A (en) Intelligent network card deployment method, device and medium
CN116932433B (en) Installation control method based on DPU and related equipment
CN112925653B (en) Virtualization cluster expansion method, related equipment and computer readable storage medium
CN104104701A (en) Online service configuration updating method and system
US11922297B2 (en) Edge AI accelerator service
CN112243033A (en) Method, device and equipment for acquiring memory information and computer readable storage medium
US11941127B2 (en) Firmware password management
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN112084099A (en) Method, device and equipment for obtaining alarm state value based on host and storage medium
CN116627682B (en) Remote industrial information detection method and device based on shared memory
CN114936043B (en) Method, device, equipment and storage medium for starting pooled heterogeneous resources
CN116339761B (en) Method, system, storage medium and equipment for automatically constructing mirror image template
US11507288B2 (en) Detecting and reconfiguring of boot parameters of a remote non-volatile memory express (NVME) subsystem
CN114448791B (en) Configuration method and device of routing module, electronic equipment and readable storage medium
CN113297158B (en) Cloud security product management method, device, equipment and storage medium

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