A computer room server out-of-band information management device, method and computer room
By introducing an out-of-band manager in the computer room, automatically configure the server's intranet address and establishing asset information correspondence, the problem of cumbersome configuration of out-of-band IP addresses in large computer rooms is solved, and management efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202111112394.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-09-23
AI Technical Summary
In large computer rooms, the out-of-band IP address configuration of the server is cumbersome, which can easily lead to manual errors and affect management efficiency.
An out-of-band manager device is designed to realize automated management by configuring the intranet address to the substrate management controller and establishing the correspondence between the intranet address and the server asset information.
It reduces the number of out-of-band addresses, reduces the possibility of manual errors, and improves the efficiency of out-of-band information management of computer room servers.
Smart Images

Figure CN113806179B_ABST
Abstract
Description
Technical Field
[0001] This article belongs to the field of computer room equipment and is applicable to the financial field. It specifically relates to an out-of-band information management device, method and computer room for computer room servers. Background Art
[0002] In modern computer room equipment, the server's network address segment is pre-planned into two types. The address segment used for the server to communicate with the outside world is called the in-band address, and the address segment used to manage the server is called the out-of-band address. After the server's management network port is configured with the out-of-band address, the server can be managed through the out-of-band network.
[0003] Currently, common server devices are equipped with an out-of-band management network port. Through the network connection to the out-of-band management network port, you can access the baseboard management controller (BMC) on the server. The BMC runs independently of the server hardware. Whether the server is turned on or not, the management function of the BMC can be used and fully supports the Intelligent Platform Management Interface (IPMI). When the server is online for the first time, connect the network cable to the out-of-band management network port on the server, configure the IP address of the BMC, and then you can access and manage the server.
[0004] In the actual implementation process, in order to meet the needs of out-of-band network management in the computer room, a common practice is to match the cabinet location (number) with the out-of-band IP address configured by the corresponding server, so that the cabinet can be directly located by IP, which is conducive to inspection and problem troubleshooting. However, when the number of devices is large, the workload of IP address allocation increases. After each cabinet is newly loaded with a server, the address needs to be configured by itself. Manual implementation may cause errors. Therefore, how to improve the management efficiency of out-of-band information of computer room servers has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the above problems in the prior art, the purpose of this article is to provide a device and method for managing out-of-band information of a server in a computer room, and a computer room, which can improve the management efficiency of out-of-band information of the server in the computer room.
[0006] In order to solve the above technical problems, the specific technical solutions of this article are as follows:
[0007] On the one hand, this article provides an out-of-band information management device for a server in a computer room, the device comprising a cabinet and an out-of-band manager;
[0008] The cabinet is equipped with a server, each server is provided with a baseboard management controller, and the baseboard management controller is used to store the asset information of the server;
[0009] The out-of-band manager is set on the cabinet, and is used to configure the intranet address for the baseboard management controller and establish a corresponding relationship between the intranet address and the asset information of the server. The out-of-band manager obtains the asset information of the server through the intranet address, and sends the asset information of the server to an external client through the out-of-band network.
[0010] Further, the out-of-band manager includes a first port and a plurality of second ports;
[0011] The first port is configured with an out-of-band address and is connected to the client via an out-of-band network;
[0012] The second port is connected to the baseboard control manager on the server, and the number of the second ports is greater than or equal to the maximum number of servers supported by the cabinet;
[0013] The out-of-band manager configures an intranet address to the baseboard control manager on the server through the second port, and the out-of-band manager obtains the asset information of the server stored in the baseboard control manager through the intranet address.
[0014] Further, the out-of-band manager also includes an authentication module and a server information management module;
[0015] The authentication module is used to authenticate the baseboard management controller on the server through the second port to establish a communication connection between the out-of-band manager and the baseboard management controller;
[0016] The server information management module is used to determine the location information of the server according to the server, and establish a corresponding relationship between the location information of the server and the intranet address corresponding to the second port.
[0017] Furthermore, the second port is configured with a dynamic host configuration DHCP protocol for dynamically configuring an intranet address for the server.
[0018] On the other hand, this document also provides a method for managing out-of-band information of a server in a computer room, the method being applied to an out-of-band manager, the method comprising:
[0019] Receive management instructions of asset information of the server sent by the client;
[0020] Determining identification information of the asset information of the server to be extracted according to the management instruction;
[0021] According to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, determine the intranet address corresponding to the asset information of the server to be extracted, and extract the asset information of the server to be extracted through the intranet address;
[0022] The extracted asset information is sent to the client via an out-of-band network.
[0023] Further, the out-of-band manager includes a first port and a plurality of second ports, the first port is connected to the client, and the second port is connected to a baseboard control manager on a server;
[0024] The step of receiving the management instruction of the asset information of the server sent by the client includes:
[0025] Receiving an out-of-band address configured by the client through a first port and an out-of-band network, wherein the out-of-band address is used to establish a communication connection between the out-of-band manager and the client;
[0026] An intranet address is configured to the baseboard control manager on the server through the second port, and the out-of-band manager obtains the asset information of the server stored in the baseboard control manager through the intranet address.
[0027] Furthermore, after configuring the intranet address to the substrate control manager on the server through the second port, the method further includes:
[0028] Sending an authentication password to a baseboard management controller on the server through the second port, so that the baseboard management controller matches the authentication password with an initial authentication password pre-stored therein;
[0029] Receive the authentication result fed back by the baseboard management controller, and determine whether the authentication is successful;
[0030] If the authentication is successful, a correspondence between the intranet address and the asset information of the server is established.
[0031] Further, the receiving the authentication result fed back by the baseboard management controller and determining whether the authentication is successful includes:
[0032] Receiving a feedback message from the baseboard management controller within a specified time period;
[0033] Parsing the feedback message to determine whether there is an authentication success mark in the feedback message;
[0034] If so, it is determined that the baseboard management controller is successfully authenticated.
[0035] Further, if no feedback message from the baseboard management controller is received within a specified time period, it is determined that the baseboard management controller authentication is unsuccessful.
[0036] Furthermore, after configuring the intranet address to the substrate control manager on the server through the second port, the method further includes:
[0037] Determining location information of the server according to the server connected to the second port;
[0038] A correspondence between the location information of the server and the intranet address of the server is established according to the intranet address corresponding to the second port and the location information of the server.
[0039] Furthermore, after establishing the correspondence between the location information of the server and the intranet address of the server, the step further includes:
[0040] Determine the port number of the second port and the server connected to the second port;
[0041] Determining location information of a server connected to the second port;
[0042] According to the port number of the second port and the positioning information of the server, a correspondence between the port number and the positioning information is established, and the correspondence between the port number and the positioning information is sent to the client.
[0043] On the other hand, the present invention also provides a device for managing out-of-band information of a server in a computer room, the device comprising:
[0044] An instruction receiving module, used for receiving management instructions of asset information of the server sent by the client;
[0045] An identification information determination module, used to determine the identification information of the asset information of the server to be extracted according to the management instruction;
[0046] An extraction module, used to determine the intranet address corresponding to the asset information of the server to be extracted according to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, and extract the asset information of the server to be extracted through the intranet address;
[0047] The sending module is used to send the extracted asset information to the client through an out-of-band network.
[0048] On the other hand, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0049] Finally, this article also provides a computer room, which includes the above-mentioned computer room server out-of-band information management device.
[0050] By adopting the above technical scheme, an out-of-band information management device, method and computer room for a computer room server described in this article are provided, by setting an out-of-band manager on a cabinet, wherein the out-of-band manager is used to configure an intranet address for the baseboard management controller and establish a correspondence between the intranet address and the asset information of the server, wherein the out-of-band manager obtains the asset information of the server through the intranet address and sends the asset information of the server to an external client through an out-of-band network. This article realizes automatic configuration of the baseboard management controller call address on the server by setting an out-of-band manager, thereby avoiding errors that may occur when manually entering device allocations, and at the same time reducing the number of configurations of out-of-band addresses, thereby improving the out-of-band information management efficiency of the computer room server.
[0051] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A schematic diagram of an application environment of the out-of-band information management device for a computer room server provided in an embodiment of this invention is shown;
[0054] Figure 2 A schematic diagram of the structure of the out-of-band manager in the embodiment of this document is shown;
[0055] Figure 3 A control logic diagram of an out-of-band information management device for a server in a computer room according to an embodiment of the present invention is shown;
[0056] Figure 4 A schematic diagram showing the steps of the out-of-band information management method for a computer room server provided in an embodiment of this invention is shown;
[0057] Figure 5 A schematic diagram showing the steps of establishing the correspondence between the intranet address and the asset information of the server in the embodiment of this document is shown;
[0058] Figure 6 The structure diagram of the out-of-band information management device for a computer room server provided in the embodiment of this invention is shown;
[0059] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of this invention is shown.
[0060] Description of the accompanying symbols:
[0061] 10. Cabinet;
[0062] 20. Server;
[0063] 30. Out-of-band manager;
[0064] 31. First port;
[0065] 32. Second port;
[0066] 40. Client;
[0067] 100. instruction receiving module;
[0068] 200, identification information determination module;
[0069] 300, extraction module;
[0070] 400, sending module;
[0071] 702. Computer equipment;
[0072] 704, processor;
[0073] 706. Memory;
[0074] 708, driving mechanism;
[0075] 710, input / output module;
[0076] 712. Input devices;
[0077] 714. Output devices;
[0078] 716. Presentation equipment;
[0079] 718. Graphical user interface;
[0080] 720, network interface;
[0081] 722. Communication link;
[0082] 724. Communication bus. DETAILED DESCRIPTION
[0083] The following will be combined with the drawings in the embodiments of this article to clearly and completely describe the technical solutions in the embodiments of this article. Obviously, the described embodiments are only part of the embodiments of this article, not all of the embodiments. Based on the embodiments of this article, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this article.
[0084] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0085] In modern computer room equipment management, the management of servers in the cabinet is particularly important. In the existing technology, in order to meet the needs of out-of-band network management in the computer room, a common practice is to match the cabinet location (number) with the out-of-band IP address configured by the corresponding server, so that the cabinet can be directly located by IP, which is conducive to inspection and problem troubleshooting. However, when the number of devices is large, the workload of IP address allocation increases. After each new server is put on the cabinet, the address needs to be configured by itself, and manual implementation may cause errors.
[0086] In order to solve the above problems, the embodiments of this specification provide an out-of-band information management device for a server in a computer room, which can improve the management efficiency of the secondary weapons on the cabinet. Figure 1 As shown, it is a schematic diagram of the structure of the device, which may include a cabinet 10 and an out-of-band manager 30. A server 20 is installed on the cabinet 10. The out-of-band manager 30 establishes a communication connection with each server 20 in the cabinet 10, so as to obtain the asset information of each server 20. At the same time, the out-of-band manager 30 is communicated with an external client 40, and an out-of-band address is allocated to the out-of-band manager 30 through the client 40, thereby realizing out-of-band management of each server 20 in the cabinet 10.
[0087] The server 20 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers.
[0088] In an optional embodiment, the client 40 can be combined with the configuration management server in the background to realize the management of the server in the computer room. The configuration management server is used to receive the management instructions of the client 40 and send them to the out-of-band manager 30, and receive and store the data sent by the out-of-band manager 30, wherein the configuration management server and the out-of-band manager 30 are connected through an out-of-band network, and the client 40 and the configuration management server are connected through a public network. The server program of the out-of-band manager is installed on the configuration management database server and the configuration is completed. When a new out-of-band manager joins the out-of-band network, the new out-of-band manager will be updated on the configuration management database server, and the cabinet location of the manager will be displayed. Specifically, the client 40 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc.
[0089] In addition, it should be noted that Figure 1 What is shown is only one application environment provided by the present disclosure. In practical applications, other application environments may also be included, which are not limited in the embodiments of this specification.
[0090] In detail, the apparatus includes a cabinet 10 and an out-of-band manager 30;
[0091] The cabinet 10 is provided with a server 20, each server 20 is provided with a baseboard management controller, and the baseboard management controller is used to store asset information of the server 20;
[0092] The out-of-band manager 30 is set on the cabinet 10, and is used to configure the intranet address to the baseboard management controller, and establish a corresponding relationship between the intranet address and the asset information of the server 20. The out-of-band manager 30 obtains the asset information of the server 20 through the intranet address, and sends the asset information of the server 20 to an external client through the out-of-band network.
[0093] It can be understood that this article sets an out-of-band manager 30 on the cabinet 10, and manages the server 20 on the cabinet 10 through the out-of-band manager 30. Therefore, the client only needs to assign an out-of-band address to each out-of-band manager 30 to manage each server 20, thereby reducing the allocation of out-of-band addresses and the use of out-of-band addresses, thereby reducing costs and improving the management efficiency of out-of-band information of the server 20.
[0094] In actual operation, for each cabinet 10, since only one out-of-band manager 30 is set, it is only necessary to deploy one out-of-band network cable to the cabinet 10, and establish a communication connection between the out-of-band manager 30 and the client through the out-of-band network cable, and allocate an out-of-band URL to the out-of-band manager 30 through the client, that is, each cabinet 10 corresponds to an out-of-band URL, and a short network cable is used in the cabinet 10 to establish a communication connection between the out-of-band manager 30 and the server 20. Compared with the traditional method, each server 20 will deploy an out-of-band network cable to connect to the client, and each server 20 will be configured with an out-of-band URL. This article can greatly reduce the wiring cost, reduce the usage of out-of-band addresses, and reduce the cost of using out-of-band addresses.
[0095] In some other embodiments, multiple cabinets 10 can be uniformly managed by an out-of-band manager 30. For example, an out-of-band manager 30 is set up for two adjacent cabinets 10. The out-of-band manager 30 communicates, connects and manages the servers 20 on the two cabinets 10, and is connected to external clients through out-of-band network cables. This can further reduce the layout of out-of-band network cables in the computer room, but it also requires setting more ports on the out-of-band manager 30 to connect more servers 20. Therefore, the number of servers 20 that can be managed by an out-of-band manager 30 is limited, resulting in a limited number of cabinets 10 that can be managed. The specific management number is not limited in the embodiments of this specification.
[0096] In the embodiment of the present specification, since the asset information of the server 20 is stored in the baseboard management controller (Baseboard Management Controller, BMC), it is connected to the baseboard management controller in each server 20 through the out-of-band manager 30. The asset information of the server 20 includes the hardware parameters, state parameters and identification parameters of the server 20, wherein the hardware parameters can be the CPU, memory and hardware information of the server 20, the state parameters can be the temperature, voltage and other information of the server 20, and the identification parameters can be the network identification information, port number, product serial number (Serial Number, SN), MAC address and other information of the server 20. For the constant part (such as the identification parameter), after the server 20 is installed in the cabinet 10, it can be obtained and saved in the BMC without updating. For the variable part, the asset information belonging to the variable part can be obtained and updated in real time through the BMC. In some other embodiments, there are other collection methods, which are not limited in the embodiment of the present specification.
[0097] The correspondence between the intranet address and the asset information of the server 20 can be understood as follows: by determining the identification information in the asset information of the server 20, the intranet address corresponding to the server 20 can be determined, so that the asset information of the server 20 in the BMC can be extracted by calling the intranet address. Therefore, the correspondence between the intranet address and the asset information of the server 20 can also be: the correspondence between the intranet address and the server 20, so the asset information of the server 20 can be determined and extracted only through the identification information of the server 20 (such as network identification information).
[0098] In the embodiments of this specification, Figure 2 As shown, the out-of-band manager 30 includes a first port 31 and a plurality of second ports 32;
[0099] The first port 31 is configured with an out-of-band address and is connected to the client via an out-of-band network;
[0100] The second ports 32 are connected to the baseboard control manager on the server 20, and the number of the second ports 32 is greater than or equal to the maximum number of servers 20 supported by the cabinet 10;
[0101] The out-of-band manager 30 configures an intranet address to the substrate control manager on the server 20 through the second port 32 , and the out-of-band manager 30 obtains the asset information of the server 20 stored in the substrate control manager through the intranet address.
[0102] like Figure 3 As shown, it is a schematic diagram of the circuit connection of the implementation process of the device, Figure 3 The circle of the server in the middle is the baseboard control manager. The out-of-band manager is connected to the baseboard control manager through the second port 32. Different functional ports are set on the out-of-band manager 30, and different addresses are configured to achieve management of the server 20 in the cabinet 10. At the same time, it can also be controlled by the client through the first port 31. When multiple cabinets 10 are set in the computer room, multiple out-of-band managers 30 need to be set accordingly. Each out-of-band manager 30 is controlled by the client by configuring different out-of-band addresses. At the same time, each out-of-band manager 30 will also assign an intranet address to the server 20 connected to it, thereby having a certain processing capability, such as establishing a correspondence between the intranet address and the asset information of the server 20, thereby achieving management of the server 20.
[0103] In actual work, the first port 31 can be the out-of-band management port of the out-of-band manager 30. After being configured with an out-of-band address, it is connected to the out-of-band network of the computer room by configuring a preset communication protocol (such as using the IPMI communication protocol). Users can manage and access the out-of-band manager 30 through the out-of-band address. After accessing the out-of-band manager 30, all the servers 20 connected to it can be managed. The second port 32 can be a DHCP port, that is, it supports the DHCP protocol, and is used to connect to the out-of-band network port (that is, the BMC network port) of the server 20 device in the cabinet 10 and automatically configure the cabinet 10 intranet address. Through these automatically configured intranet addresses, the out-of-band manager 30 can manage the server devices connected to it.
[0104] IPMI communication protocol is the abbreviation of Intelligent Platform Management Interface protocol. It is an industrial standard adopted by peripheral devices of enterprise systems using Intel architecture. It is also an open and free standard that can collect various characteristic information of devices across different operating systems, firmware and hardware platforms, and automatically report the operation status of a large number of servers to reduce the cost of server systems. Dynamic Host Configuration Protocol (DHCP) protocol is a network protocol for local area networks. The server controls a range of IP addresses and automatically allocates IP addresses to internal networks or network service providers. In this article, the out-of-band manager can automatically allocate an intranet address to the connected server, so that the asset information of the server can be extracted through the intranet address.
[0105] In the embodiment of this specification, the out-of-band manager 30 also includes an authentication module and a server 20 information management module;
[0106] The authentication module is used to authenticate the baseboard management controller on the server 20 through the second port 32 to establish a communication connection between the out-of-band manager 30 and the baseboard management controller;
[0107] The server 20 information management module is used to determine the location information of the server 20 according to the server 20, and establish a corresponding relationship between the location information of the server 20 and the intranet address corresponding to the second port 32.
[0108] It can be understood that, by authenticating the communication between the out-of-band manager 30 and the baseboard management controller, the security of the data stored in the baseboard management controller can be guaranteed, thereby improving the reliability of the out-of-band manager 30 managing the baseboard management controller.
[0109] The location information of the server 20 is the location information of the server 20 in the cabinet 10, such as the layer of the cabinet 10. The location information can be determined when the server 20 is installed and deployed, can be determined manually, or can be determined by the port number of the second port 32 in the out-of-band manager 30. For example, when the server 20 is installed and deployed, it can be arranged from bottom to top. At the same time, when the server 20 is connected to the out-of-band manager 30, it can be connected in order from small to large port numbers. In this way, the location information of the server 20 connected thereto can be determined by the port number of the second port 32. By establishing a corresponding relationship between the location information of the server 20 and the intranet address, the asset information of the corresponding server 20 can be realized in advance through the location information, which increases the retrieval conditions and improves the management efficiency of the asset information of the server 20.
[0110] In a further embodiment, the correspondence between the location information of the server 20 and the intranet address corresponding to the second port 32 can be sent to the client, so that the asset information of the server 20 can be managed on the client and the asset information of the server 20 can be queried in more ways.
[0111] In order to better illustrate the above-mentioned device, the embodiment of this specification also provides a configuration process of the device, which is specifically described as follows:
[0112] 1) Fix the out-of-band manager on the top of the cabinet. According to the actual planned number of cabinets, pre-install several short network cables on the DHCP network port of the out-of-band manager for out-of-band management interconnection in the cabinet.
[0113] 2) Newly installed server equipment is deployed gradually from the bottom to the top of the cabinet. The out-of-band network port of the BMC on the server is set to DHCP to automatically obtain the intranet address, and the access password is ensured to be consistent with the access password configured by the out-of-band manager. Then the short network cable in the cabinet is connected to the out-of-band network port of the server to complete the automatic configuration of the intranet address. At this time, the out-of-band manager is connected to the external configuration management server through the out-of-band network cable, and the manufacturer, serial number, hardware specifications and other information (i.e. asset information) of the new server equipment (i.e. asset information) are automatically synchronized to the configuration management server through the IPMI protocol by configuring the corresponding program.
[0114] 3) When a device failure occurs, the out-of-band manager where the server with the specified serial number (or server ID) is located can be quickly queried in the configuration management database server, so as to immediately obtain the corresponding cabinet location for rapid positioning.
[0115] 4) When a device is replaced, install the new device into the cabinet to replace the old device, connect the out-of-band network cable, configure the out-of-band address, and the out-of-band manager will automatically update the device information.
[0116] The out-of-band information management device for a computer room server provided in the embodiment of the present specification, by setting up an out-of-band manager, only needs to set up a short network cable to connect the server on the cabinet, and connect the out-of-band manager through the out-of-band network cable, which can greatly reduce the number of out-of-band network cables and save the cost of out-of-band URLs. By automatically allocating the intranet address of the server, errors that may occur when manually entering device allocation are avoided. In addition, the asset information of the server can be managed with only the intranet address, which can improve the management efficiency and accuracy of the server.
[0117] Based on the same inventive concept, the embodiments of this specification also provide a method for managing out-of-band information of a server in a computer room, which can achieve efficient management of servers in a cabinet. Figure 4 This is a schematic diagram of the steps of an out-of-band information management method for a computer room server provided in an embodiment of this article. This specification provides method operation steps as described in the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or device product is executed, it can be executed in the order or in parallel according to the method shown in the embodiment or the accompanying drawings. Specifically, Figure 4 As shown, the method may include:
[0118] S101: receiving a management instruction of asset information of a server sent by a client;
[0119] S102: Determine identification information of the asset information of the server to be extracted according to the management instruction;
[0120] S103: Determine the intranet address corresponding to the asset information of the server to be extracted according to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, and extract the asset information of the server to be extracted through the intranet address;
[0121] S104: Send the extracted asset information to the client via an out-of-band network.
[0122] It can be understood that this article connects the server in the cabinet to the out-of-band manager and automatically configures its intranet address, so that the asset information of the server can be managed through the client. The correspondence between the intranet address and the asset information of the server can be: by determining the identification information in the asset information of the server, the intranet address corresponding to the server can be determined, so that the asset information of the server in the BMC can be extracted by calling the intranet address, so the correspondence between the intranet address and the asset information of the server can also be: the correspondence between the intranet address and the server, so the asset information of the server can be determined and extracted only through the identification information of the server (such as network identification information).
[0123] In the embodiment of this specification, the out-of-band manager includes a first port and a plurality of second ports, the first port is connected to the client, and the second port is connected to the baseboard control manager on the server;
[0124] The step of receiving the management instruction of the asset information of the server sent by the client includes:
[0125] Receiving an out-of-band address configured by the client through a first port and an out-of-band network, wherein the out-of-band address is used to establish a communication connection between the out-of-band manager and the client;
[0126] An intranet address is configured to the baseboard control manager on the server through the second port, and the out-of-band manager obtains the asset information of the server stored in the baseboard control manager through the intranet address.
[0127] The out-of-band address is the address of the client that manages the out-of-band manager. The client can send management instructions to the out-of-band manager through the out-of-band address, and then the out-of-band manager determines the corresponding server by receiving and parsing the management instructions, and extracts the asset information of the server through the intranet address corresponding to the server.
[0128] In order to improve the security and reliability of the asset information of the server, as an option, such as Figure 5 As shown, after configuring the intranet address to the substrate control manager on the server through the second port, it also includes:
[0129] S201: sending an authentication password to a baseboard management controller on the server through the second port, so that the baseboard management controller matches the authentication password with an initial authentication password pre-stored therein;
[0130] S202: receiving the authentication result fed back by the baseboard management controller, and determining whether the authentication is successful;
[0131] S203: If the authentication is successful, a correspondence between the intranet address and the asset information of the server is established.
[0132] It can be understood that the authentication password can ensure the security of the communication connection between the out-of-band manager and the baseboard management controller, thereby achieving secure data transmission. The authentication password can be set according to actual conditions, such as using a combination of letters, numbers, and characters. There are also other setting methods, which are not limited in the embodiments of this specification.
[0133] In some other embodiments, the initial authentication password pre-stored in the baseboard management controller can be obtained by encrypting through a preset encryption algorithm. For example, the initial authentication password can be obtained by encrypting through a preset encryption algorithm through a cabinet identifier and a server identifier. Of course, it can also be obtained by encrypting other data. Accordingly, the out-of-band manager also needs to obtain the cabinet identifier and the server identifier corresponding to the intranet address through a preset encryption algorithm to encrypt the authentication password, and then send the authentication password to the baseboard management controller for matching. This can improve the security of server asset information and reduce data leakage in the baseboard management controller, especially for some financial industries with higher security requirements. The preset encryption algorithm can be an AES encryption algorithm, an RSA encryption algorithm, a hash algorithm, etc. The specific algorithm form is not limited in the embodiments of this specification.
[0134] In the embodiment of this specification, the receiving the authentication result fed back by the baseboard management controller and determining whether the authentication is successful includes:
[0135] Receiving a feedback message from the baseboard management controller within a specified time period;
[0136] Parsing the feedback message to determine whether there is an authentication success mark in the feedback message;
[0137] If so, it is determined that the baseboard management controller is successfully authenticated.
[0138] In a further embodiment, if no feedback message is received from the baseboard management controller within a specified time period, it is determined that the baseboard management controller authentication is unsuccessful.
[0139] This article can quickly determine whether the authentication is successful by parsing the feedback message sent by the baseboard manager. When the authentication fails, an authentication failure reminder can be sent to the user so that the user can make timely adjustments. The authentication success flag can be a special field in the feedback message, such as "true" or "success", etc. The specified time period is the theoretical maximum feedback time of the baseboard management controller, which can be set manually, such as 1s, 2s, etc., and is not limited in the embodiments of this specification.
[0140] In the embodiment of the present specification, after configuring the intranet address to the substrate control manager on the server through the second port, the method further includes:
[0141] Determining location information of the server according to the server connected to the second port;
[0142] A correspondence between the location information of the server and the intranet address of the server is established according to the intranet address corresponding to the second port and the location information of the server.
[0143] It can be understood that the positioning information of the server is the location information of the server in the cabinet, such as the floor of the cabinet. The location information can be determined when the server is installed and deployed, can be determined manually, or can be determined by the port number of the second port in the out-of-band manager. For example, when installing and deploying the server, it can be arranged from bottom to top. At the same time, when the server is connected to the out-of-band manager, it can be connected in order from small to large. In this way, the location information of the server connected to it can be determined by the port number of the second port. Establishing a corresponding relationship between the positioning information of the server and the intranet address can realize the asset information of the corresponding server in advance through the positioning information, increase the retrieval conditions, and improve the management efficiency of the server asset information.
[0144] In a further embodiment, the correspondence between the location information of the server and the intranet address corresponding to the second port can be sent to the client, so that the server asset information can be managed on the client and the server asset information can be queried in more ways.
[0145] In a further embodiment of the present specification, after establishing the correspondence between the location information of the server and the intranet address of the server, the step further includes:
[0146] Determine the port number of the second port and the server connected to the second port;
[0147] Determining location information of a server connected to the second port;
[0148] According to the port number of the second port and the positioning information of the server, a correspondence between the port number and the positioning information is established, and the correspondence between the port number and the positioning information is sent to the client.
[0149] It can be understood that after the server is connected to the out-of-band manager, by establishing a correspondence between the port number and the positioning information, that is, setting a corresponding label for the port number of the second port, the position of the server in the cabinet can be located through the second port, thereby further improving the efficiency of server management.
[0150] Furthermore, the present invention can also judge the stability of the server connection by the stability of the second port connection. For example, when the second port connection is unstable, it will cause data transmission leakage. Therefore, the out-of-band manager can detect the stability of the second port connection line in real time (such as whether the port is successfully connected). When instability occurs, the corresponding server can be quickly determined by the port number, and then the data transmission of the server can be disconnected, thereby protecting the asset information of the server.
[0151] The out-of-band information management method for a computer room server provided in the embodiments of this specification is suitable for an out-of-band manager. By establishing a correspondence between an intranet address and the asset information of the server, the client only needs to control the out-of-band manager through the out-of-band network to manage the asset information of the server in the cabinet, thereby reducing the allocation of out-of-band addresses and improving management efficiency and reliability.
[0152] Based on the same inventive concept, the embodiment of this specification also provides an out-of-band information management device for a server in a computer room, such as Figure 6 As shown, the device comprises:
[0153] The instruction receiving module 100 is used to receive the management instruction of the asset information of the server sent by the client;
[0154] The identification information determination module 200 is used to determine the identification information of the asset information of the server to be extracted according to the management instruction;
[0155] The extraction module 300 is used to determine the intranet address corresponding to the asset information of the server to be extracted according to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, and extract the asset information of the server to be extracted through the intranet address;
[0156] The sending module 400 is used to send the extracted asset information to the client via an out-of-band network.
[0157] The beneficial effects obtained by the above-mentioned device are consistent with the beneficial effects obtained by the above-mentioned method, and will not be described in detail in the embodiments of this specification.
[0158] Based on the above-mentioned out-of-band information management device and method for a computer room server, an embodiment of the present specification further provides a computer room, wherein the computer room is provided with the above-mentioned out-of-band information management device for a computer room server.
[0159] It should be noted that the out-of-band information management device, method and computer room for a computer room server provided in the embodiments of this specification can be used in the computer room equipment field in the financial field, and can also be used in any field other than the financial field. The application field of the out-of-band information management device, method and computer room for a computer room server provided in the embodiments of this specification is not limited.
[0160] like Figure 7 As shown, a computer device provided in an embodiment of this invention is provided. The out-of-band information management device for a server in a computer room in this invention can be a computer device in this embodiment. The method of this invention is executed. The computer device 702 may include one or more processors 704, such as one or more central processing units (CPUs), and each processing unit may implement one or more hardware threads. The computer device 702 may also include any memory 706, which is used to store any kind of information such as code, settings, data, etc. Non-limitingly, for example, the memory 706 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 702. In one case, when the processor 704 executes an associated instruction stored in any memory or a combination of memories, the computer device 702 may perform any operation of the associated instruction. The computer device 702 also includes one or more drive mechanisms 708 for interacting with any storage, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0161] The computer device 702 may also include an input / output module 710 (I / O) for receiving various inputs (via input devices 712) and for providing various outputs (via output devices 714). A specific output mechanism may include a presentation device 716 and an associated graphical user interface (GUI) 718. In other embodiments, the input / output module 710 (I / O), the input device 712, and the output device 714 may not be included, and the computer device 702 may be used as a computer device in a network. The computer device 702 may also include one or more network interfaces 720 for exchanging data with other devices via one or more communication links 722. One or more communication buses 724 couple the components described above together.
[0162] The communication link 722 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.
[0163] Corresponds to Figure 4-Figure 5 The method in this article also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are executed.
[0164] The embodiment of the present invention also provides a computer readable instruction, wherein when the processor executes the instruction, the program therein causes the processor to execute the following Figures 4 to 5 The method shown.
[0165] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.
[0166] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0167] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.
[0168] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0169] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0170] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.
[0171] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
[0172] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0173] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.
Claims
1. An out-of-band information management device for a server in a computer room, characterized in that: The apparatus includes a cabinet and an out-of-band manager; The cabinet is equipped with a server, each server is provided with a baseboard management controller, and the baseboard management controller is used to store the asset information of the server; the asset information of the server includes hardware parameters, status parameters and identification parameters of the server; The out-of-band manager is arranged on the cabinet, and comprises a first port and a plurality of second ports; the first port is configured with an out-of-band address and is connected to the client through an out-of-band network; The second port is connected to the baseboard control manager on the server, and the number of the second ports is greater than or equal to the maximum number of servers supported by the cabinet; The out-of-band manager configures the intranet address to the substrate control manager on the server through the second port, and establishes a correspondence between the intranet address and the asset information of the server. The out-of-band manager obtains the asset information of the server stored in the substrate control manager through the intranet address, and sends the asset information of the server to an external client through the out-of-band network.
2. The device according to claim 1, characterized in that The out-of-band manager also includes an authentication module and a server information management module; The authentication module is used to authenticate the baseboard management controller on the server through the second port to establish a communication connection between the out-of-band manager and the baseboard management controller; The server information management module is used to determine the location information of the server according to the server, and establish a corresponding relationship between the location information of the server and the intranet address corresponding to the second port.
3. The device according to claim 2, characterized in that The second port is configured with a dynamic host configuration DHCP protocol, which is used to dynamically configure an intranet address for the server.
4. A method for managing out-of-band information of a server in a computer room, characterized in that: The method is applied to an out-of-band manager, and the method comprises: Receive a management instruction of the server's asset information sent by the client; the server's asset information includes the server's hardware parameters, status parameters, and identification parameters; Determining identification information of the asset information of the server to be extracted according to the management instruction; According to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, determine the intranet address corresponding to the asset information of the server to be extracted, and extract the asset information of the server to be extracted through the intranet address; sending the extracted asset information to the client via an out-of-band network; Wherein, the out-of-band manager includes a first port and a plurality of second ports, the first port is connected to the client, and the second port is connected to a baseboard control manager on a server; The step of receiving the management instruction of the asset information of the server sent by the client includes: Receiving an out-of-band address configured by the client through a first port and an out-of-band network, wherein the out-of-band address is used to establish a communication connection between the out-of-band manager and the client; An intranet address is configured to the baseboard control manager on the server through the second port, and the out-of-band manager obtains the asset information of the server stored in the baseboard control manager through the intranet address.
5. The method according to claim 4, characterized in that After configuring the intranet address to the substrate control manager on the server through the second port, the following further comprises: Sending an authentication password to a baseboard management controller on the server through the second port, so that the baseboard management controller matches the authentication password with an initial authentication password pre-stored therein; Receive the authentication result fed back by the baseboard management controller, and determine whether the authentication is successful; If the authentication is successful, a correspondence between the intranet address and the asset information of the server is established.
6. The method according to claim 5, characterized in that The receiving the authentication result fed back by the baseboard management controller and determining whether the authentication is successful includes: Receiving a feedback message from the baseboard management controller within a specified time period; Parsing the feedback message to determine whether there is an authentication success mark in the feedback message; If so, it is determined that the baseboard management controller is successfully authenticated.
7. The method according to claim 6, characterized in that The method further comprises: If no feedback message from the baseboard management controller is received within the specified time period, it is determined that the baseboard management controller authentication is unsuccessful.
8. The method according to claim 4, characterized in that After configuring the intranet address to the substrate control manager on the server through the second port, the following further comprises: Determining location information of the server according to the server connected to the second port; A correspondence between the location information of the server and the intranet address of the server is established according to the intranet address corresponding to the second port and the location information of the server.
9. The method according to claim 8, characterized in that After establishing the correspondence between the location information of the server and the intranet address of the server, the method further includes: Determine the port number of the second port and the server connected to the second port; Determining location information of a server connected to the second port; According to the port number of the second port and the positioning information of the server, a correspondence between the port number and the positioning information is established, and the correspondence between the port number and the positioning information is sent to the client.
10. An out-of-band information management device for a server in a computer room, characterized in that: The device is applied to an out-of-band manager, and the device comprises: An instruction receiving module, used to receive a management instruction of the asset information of the server sent by the client; the asset information of the server includes hardware parameters, status parameters and identification parameters of the server; An identification information determination module, used to determine the identification information of the asset information of the server to be extracted according to the management instruction; An extraction module, used to determine the intranet address corresponding to the asset information of the server to be extracted according to the identification information of the asset information of the server to be extracted and the pre-established correspondence between the intranet address and the asset information of the server, and extract the asset information of the server to be extracted through the intranet address; A sending module, used for sending the extracted asset information to the client via an out-of-band network; Wherein, the out-of-band manager includes a first port and a plurality of second ports, the first port is connected to the client, and the second port is connected to a baseboard control manager on a server; The step of receiving the management instruction of the asset information of the server sent by the client includes: Receiving an out-of-band address configured by the client through a first port and an out-of-band network, wherein the out-of-band address is used to establish a communication connection between the out-of-band manager and the client; An intranet address is configured to the baseboard control manager on the server through the second port, and the out-of-band manager obtains the asset information of the server stored in the baseboard control manager through the intranet address.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 4 to 9 is implemented.
12. A machine room, characterized in that: The computer room includes the computer room server out-of-band information management device according to any one of claims 1 to 3.
Citation Information
Patent Citations
Circuit board and cabinet
CN111752809A
Resource address management method, device, equipment and system
CN111953809A