Disclosure of Invention
In view of the foregoing problems in the prior art, an object of the present disclosure is to provide a device and a method for managing out-of-band information of a machine room server, and a machine room, which can improve the management efficiency of the out-of-band information of the machine room server.
In order to solve the technical problems, the specific technical scheme is as follows:
in one aspect, an apparatus for out-of-band information management for a room server is provided herein, the apparatus comprising a cabinet and an out-of-band manager;
servers are installed on the cabinet, each server is provided with a substrate management controller, and the substrate management controllers are used for storing asset information of the servers;
the out-of-band manager is arranged on the equipment cabinet and used for configuring an internal network address for the substrate management controller and establishing a corresponding relation between the internal network address and the asset information of the server, and the out-of-band manager acquires the asset information of the server through the internal network address and sends the asset information of the server to an external client through an out-of-band network.
Further, the out-of-band manager includes a first port and a plurality of second ports;
the first port is configured with an out-of-band address and is connected with the client through an out-of-band network;
the second ports are connected with the substrate control manager on the server, and the number of the second ports is greater than or equal to the maximum number of the cabinet bearing servers;
the out-of-band manager configures an internal network address to a substrate control manager on the server through the second port, and the out-of-band manager acquires asset information of the server stored in the substrate control manager through the internal network address.
Further, the out-of-band manager also comprises an authentication module and a server information management module;
the authentication module is used for authenticating the baseboard management controller on the server through the second port so as to establish communication connection between the out-of-band manager and the baseboard management controller;
and the server information management module is used for determining the positioning information of the server according to the server and establishing the corresponding relation between the positioning information of the server and the intranet address corresponding to the second port.
Further, the second port is configured with a dynamic host configuration DHCP protocol for dynamically configuring an intranet address to the server.
In another aspect, a method for managing out-of-band information of a machine room server is also provided, where the method is applied to an out-of-band manager, and the method includes:
receiving a management instruction of asset information of a server sent by a client;
according to the management instruction, determining the identification information of 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 corresponding relation between the intranet address and the asset information of the server, determining the intranet address corresponding to the asset information of the server to be extracted, and extracting the asset information of the server to be extracted through the intranet address;
and sending the extracted asset information to the client through an out-of-band network.
Further, the out-of-band manager comprises a first port and a plurality of second ports, the first port is connected with the client, and the second port is connected with a substrate control manager on a server;
the receiving of the management instruction of the asset information of the server sent by the client comprises:
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 for establishing communication connection between the out-of-band manager and the client;
and configuring an internal network address to a substrate control manager on the server through a second port, and acquiring asset information of the server stored in the substrate control manager through the internal network address by the out-of-band manager.
Further, after configuring an intranet address to the baseboard control manager on the server through the second port, the method further includes:
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 through an initial authentication password pre-stored in the baseboard management controller;
receiving an authentication result fed back by the substrate management controller, and judging whether authentication is successful or not;
and if the authentication is successful, establishing a corresponding relation between the intranet address and the asset information of the server.
Further, the receiving the authentication result fed back by the baseboard management controller and determining whether the authentication is successful includes:
receiving a feedback message of the substrate management controller in a specified time period;
analyzing the feedback message, and judging whether an authentication success identifier exists in the feedback message;
and if so, determining that the authentication of the baseboard management controller is successful.
Further, if the feedback message of the baseboard management controller is not received within a specified time period, it is determined that the baseboard management controller is not successful in authentication.
Further, after configuring an intranet address to the baseboard control manager on the server through the second port, the method further includes:
determining the positioning information of the server according to the server connected with the second port;
and establishing a corresponding relation between the positioning information of the server and the intranet address of the server according to the intranet address corresponding to the second port and the positioning information of the server.
Further, after the establishing of the corresponding relationship between the positioning information of the server and the intranet address of the server, the method further includes:
determining a port number of the second port and a server connected with the second port;
determining the positioning information of the server connected with the second port;
and establishing a corresponding relation between the port number and the positioning information according to the port number of the second port and the positioning information of the server, and sending the corresponding relation between the port number and the positioning information to the client.
In another aspect, an apparatus for out-of-band information management for a machine room server is provided, the apparatus comprising:
the command receiving module is used for receiving a management command of the asset information of the server sent by the client;
the identification information determining module is used for determining the identification information of the asset information of the server to be extracted according to the management instruction;
the extraction module is used for determining an 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 corresponding relationship between the intranet address and the asset information of the server, and extracting the asset information of the server to be extracted through the intranet address;
and the sending module is used for sending the extracted asset information to the client through an out-of-band network.
In another aspect, a computer-readable storage medium is also provided herein, which stores a computer program that, when executed by a processor, implements the method as described above.
Finally, the computer room comprises the computer room server out-of-band information management device.
By adopting the technical scheme, the device and the method for managing the out-of-band information of the machine room server and the machine room are characterized in that the out-of-band manager is arranged on the machine cabinet and used for configuring the intranet address to the substrate management controller and establishing the corresponding relation between the intranet address and the asset information of the server, the out-of-band manager acquires 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, the automatic configuration of the calling address of the substrate management controller on the server is realized through the out-of-band manager, errors possibly generated when manual input equipment is distributed are avoided, the configuration quantity of the out-of-band address is reduced, and the management efficiency of the out-of-band information of the machine room server is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection.
It should be noted that the terms "first," "second," and the like in the description and claims herein and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
In the management of modern equipment in a machine room, the management of servers in a machine cabinet is particularly important, and in order to meet the requirement of out-of-band network management of the machine room, in the prior art, the common method is to match the position (number) of the machine cabinet with an out-of-band IP address configured by a corresponding server, so that the machine cabinet can be directly positioned through IP, and inspection and problem troubleshooting are facilitated. However, when the number of devices is large, the workload of IP address allocation increases, and after each rack is newly put on a shelf, the address needs to be configured by itself, so that there is a possibility of errors in manual implementation.
In order to solve the above problem, embodiments of the present specification provide an out-of-band information management apparatus for a machine room server, which can improve the efficiency of managing a secondary weapon on a cabinet. As shown in fig. 1, which is a schematic structural diagram of the apparatus, the apparatus may include a cabinet 10 and an out-of-band manager 30, where the cabinet 10 has servers 20 installed thereon, and the out-of-band manager 30 establishes a communication connection with each server 20 of the cabinet 10, so as to obtain asset information of each server 20, and meanwhile, the out-of-band manager 30 is in communication connection with an external client 40, and allocates an out-of-band address to the out-of-band manager 30 through the client 40, thereby implementing out-of-band management on each server 20 in the cabinet 10.
The server 20 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers.
In an alternative embodiment, the client 40 may implement management of servers in a computer room in combination with a configuration management server in its background, where the configuration management server is configured to receive a management instruction of the client 40, send the management instruction to the out-of-band manager 30, and receive and store data sent by the out-of-band manager 30, where 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, and install a server program of the out-of-band manager on a configuration management database server and complete configuration. 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 position of the cabinet where the manager is located is displayed. In particular, the client 40 may include, but is not limited to, smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, Augmented Reality (AR)/Virtual Reality (VR) devices, smart wearable devices, and other types of electronic devices. Optionally, the operating system running on the electronic device may include, but is not limited to, an Android (Android) system, an IOS system, Linux, Windows, and the like.
In addition, it should be noted that fig. 1 shows only one application environment provided by the present disclosure, and in practical applications, other application environments may also be included, and are not limited in the embodiments of the present specification.
In detail, the apparatus comprises a cabinet 10 and an out-of-band manager 30;
the cabinet 10 is provided with servers 20, and each server 20 is provided with a baseboard management controller for storing asset information of the server 20;
the out-of-band manager 30 is disposed on the cabinet 10, and configured to configure an internal network address to the baseboard management controller, and establish a corresponding relationship between the internal network address and the asset information of the server 20, where the out-of-band manager 30 obtains the asset information of the server 20 through the internal network address, and sends the asset information of the server 20 to an external client through an out-of-band network.
It can be understood that, herein, by arranging the out-of-band manager 30 on the cabinet 10 and implementing management on the servers 20 on the cabinet 10 through the out-of-band manager 30, management on each server 20 can be implemented only by allocating an out-of-band address to each out-of-band manager 30 by a client, so that allocation of the out-of-band address is reduced, usage amount of the out-of-band address is reduced, cost is reduced, and management efficiency of out-of-band information of the server 20 is improved.
In actual operation, only one out-of-band manager 30 is arranged for each cabinet 10, so that only one out-of-band network cable needs to be deployed to the cabinet 10, the out-of-band manager 30 and the client are communicatively connected through the out-of-band network cable, an out-of-band website is distributed to the out-of-band manager 30 through the client, that is, each cabinet 10 corresponds to one out-of-band website, a short network cable is used in the cabinet 10 to establish the communicative connection between the out-of-band manager 30 and the servers 20, and compared with a conventional method, one out-of-band network cable is deployed to each server 20 to be connected to the client, and each server 20 is configured to one out-of-band website, wiring cost can be greatly reduced, the amount of used out-of-band addresses is reduced, and the use cost of the out-of-band addresses is reduced.
In some other embodiments, multiple cabinets 10 may be managed by one out-of-band manager 30, for example, by providing one out-of-band manager 30 for two adjacent cabinets 10, where the out-of-band manager 30 is communicatively connected and managed with the servers 20 on the two cabinets 10 and is connected with an external client through an out-of-band cable, so as to further reduce the arrangement of the out-of-band cable in the computer room, but this also requires more ports on the out-of-band manager 30 to connect with more servers 20, so that the number of servers 20 that can be managed by one out-of-band manager 30 is limited, which results in the limited number of cabinets 10 that can be managed by the one out-of-band manager 30, and the specific management number is not limited in the embodiments of this specification.
In the embodiment of the present specification, since the asset information of the server 20 is stored in a Baseboard Management Controller (BMC), the asset information is communicatively 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 hardware parameters, status parameters and identification parameters of the server 20, wherein the hardware parameters may be CPU, memory and hardware information of the server 20, the status parameters may be temperature, voltage and other information of the server 20, and the identification parameters may be network identification information, port 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, the asset information belonging to the variable part may be acquired and updated in real time by the BMC without updating by acquiring and storing the constant part in the BMC, and in some other embodiments, there are other acquisition manners, which are not limited in the embodiments of this specification.
The correspondence between the intranet address and the asset information of the server 20 may be understood as that, by determining the identification information in the asset information of the server 20, the intranet address corresponding to the server 20 may be determined, so that the asset information of the server 20 in the BMC may be extracted by calling the intranet address, and therefore, the correspondence between the intranet address and the asset information of the server 20 may also be: the corresponding relationship between the intranet address and the server 20, so that the asset information of the server 20 can be determined and extracted only by the identification information (such as network identification information) of the server 20.
In the present embodiment, as shown in fig. 2, the out-of-band manager 30 includes a first port 31 and a plurality of second ports 32;
the first port 31 is configured with an out-of-band address and connected with the client through an out-of-band network;
the second ports 32 are connected with the baseboard control managers on the servers 20, and the number of the second ports 32 is greater than or equal to the maximum number of servers 20 carried by the cabinet 10;
the out-of-band manager 30 configures an internal network address to the baseboard 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 baseboard control manager through the internal network address.
As shown in fig. 3, which is a schematic diagram of the circuit connection of the implementation process of the apparatus, the circle of the server in fig. 3 is a baseboard control manager, the out-of-band manager is connected to the baseboard control manager through a second port 32, the out-of-band manager 30 is provided with different functional ports and configured with different addresses to manage the servers 20 in the cabinet 10, and at the same time, can be controlled by the client through the first port 31, when a plurality of cabinets 10 are arranged in a computer room, a plurality of out-of-band managers 30 are correspondingly required to be arranged, each out-of-band manager 30 is controlled by a client through configuring different out-of-band addresses, while each out-of-band manager 30 will also assign an internal network address to the server 20 to which it is connected, further, the system has certain processing capability, for example, a corresponding relationship between the intranet address and the asset information of the server 20 is established, and further management of the server 20 is realized.
In practical applications, the first port 31 may be an out-of-band management port of the out-of-band manager 30, and after being configured with an out-of-band address, the first port is accessed to an out-of-band network of a computer room by configuring a preset communication protocol (for example, by using an IPMI communication protocol), and a user may manage to access the out-of-band manager 30 through the out-of-band address, and may manage all devices of the server 20 connected to the out-of-band manager 30 after accessing the out-of-band manager 30. The second port 32 may be a DHCP port, i.e., supporting DHCP protocol, for connecting with an out-of-band port (i.e., BMC port) of a server 20 device in the cabinet 10 and automatically configuring an internal network address of the cabinet 10, and through these automatically configured internal network addresses, the out-of-band manager 30 may manage the server device connected thereto.
The IPMI communication protocol is an abbreviation of Intelligent Platform Management Interface (Intelligent Platform Management Interface) protocol, is an industrial standard adopted by peripheral devices of an enterprise system adopting an Intel architecture, is also an open free standard, and can cross different types of characteristic information of an operating system, firmware and a hardware Platform, and automatically report the operation conditions of a large number of servers to reduce the cost of the server system. A Dynamic Host Configuration Protocol (DHCP) Protocol is a network Protocol of a local area network, a server controls a segment of IP address range, and automatically allocates an IP address to an internal network or a network service provider, and herein, an internal network address may be automatically allocated to a connected server through an out-of-band manager, so that asset information of the server may be extracted through the internal network address.
In the embodiment of the present specification, the out-of-band manager 30 further includes an authentication module and a server 20 information management module;
the authentication module is configured 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;
the server 20 information management module is configured to determine the positioning information of the server 20 according to the server 20, and establish a corresponding relationship between the positioning information of the server 20 and the intranet address corresponding to the second port 32.
It can be understood that, through the communication authentication of the out-of-band manager 30 and the baseboard management controller, the security of the baseboard management controller for storing data can be ensured, thereby improving the reliability of the out-of-band manager 30 for managing the baseboard management controller.
The location information of the server 20 is the location information of the server 20 in the cabinet 10, such as the layer number of the cabinet 10. The location information may be determined when the server 20 is installed and deployed, may be determined manually, or may be determined by a port number of the second port 32 in the out-of-band manager 30, for example, when the server 20 is installed and deployed, the location information may be arranged from bottom to top in sequence, and when the server 20 is connected to the out-of-band manager 30, the location information of the server 20 connected to the server 20 may be determined by the port number of the second port 32. The corresponding relationship between the positioning information of the server 20 and the intranet address is established, that is, the asset information of the server 20 is advanced by the positioning information, the retrieval condition is increased, and the management efficiency of the asset information of the server 20 is improved.
In a further embodiment, the corresponding relationship between the positioning information of the server 20 and the intranet address corresponding to the second port 32 may be sent to the client, so that the asset information of the server 20 may be managed and queried in a greater manner at the client.
In order to better explain the above provided device, the embodiment of the present specification further provides a configuration process of the device, which is specifically described as follows:
1) and fixing the out-of-band manager at the top of the cabinet, and presetting a plurality of short network cables for out-of-band management interconnection in the local cabinet by the DHCP network port of the out-of-band manager according to the actual planned installed number of the cabinet.
2) And the newly-erected server equipment is gradually deployed from the bottom to the top of the cabinet, the out-of-band port of the BMC on the server is set to be in a DHCP mode to automatically acquire the internal network address, the access password is ensured to be consistent with the access password configured by the out-of-band manager, and then the short network cable in the cabinet is connected with the out-of-band port of the server to finish the automatic configuration of the internal network address. At this time, the out-of-band manager is connected with an external configuration management server through an out-of-band network cable, and information (namely asset information) such as a manufacturer, a serial number, hardware specification and the like of the new server equipment is automatically synchronized to the configuration management server through configuration of a corresponding program through an IPMI protocol.
3) When equipment failure occurs, the out-of-band manager where the server (or the server identifier) with the specified serial number is located can be quickly inquired in the configuration management database server, so that the corresponding cabinet position can be immediately obtained for quick positioning.
4) When equipment replacement occurs, new equipment is installed in the cabinet instead of old equipment, an out-of-band address is configured by connecting an out-of-band network cable, and the information of the equipment can be automatically updated by the out-of-band manager.
The out-of-band information management device of the machine room server provided by the embodiment of the specification is provided with the out-of-band manager, only the server on the cabinet is connected with the short network cable, the out-of-band manager is connected with the out-of-band network cable, the arrangement quantity of the out-of-band network cable can be greatly reduced, the cost of out-of-band websites is saved, errors which possibly occur when manual entry equipment is distributed are avoided through automatic distribution of the internal network address of the server, in addition, the asset information management of the server can be realized only through the internal network address, and the management efficiency and the accuracy of the server can be improved.
Based on the same inventive concept, the embodiment of the specification further provides a method for managing the out-of-band information of the machine room server, and the method can realize the efficient management of the server in the machine cabinet. Fig. 4 is a schematic diagram of steps of a method for managing out-of-band information of a machine room server provided in an embodiment of the present disclosure, and the present disclosure provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual system or apparatus product executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures. Specifically, as shown in fig. 4, the method may include:
s101: receiving a management instruction of asset information of a server sent by a client;
s102: according to the management instruction, determining the identification information of the asset information of the server to be extracted;
s103: according to the identification information of the asset information of the server to be extracted and the pre-established corresponding relation between the intranet address and the asset information of the server, determining the intranet address corresponding to the asset information of the server to be extracted, and extracting the asset information of the server to be extracted through the intranet address;
s104: and sending the extracted asset information to the client through an out-of-band network.
It can be understood that, by connecting a server in a cabinet to an out-of-band manager, management of asset information of the server can be achieved through a client by automatically configuring an intranet address of the server, where a correspondence relationship between the intranet address and the asset information of the server may 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, and therefore, the corresponding relationship between the intranet address and the asset information of the server can also be: the corresponding relation between the intranet address and the server is such that the asset information of the server can be determined and extracted only by the identification information (such as network identification information) of the server.
In the embodiment of the specification, the out-of-band manager comprises a first port and a plurality of second ports, wherein the first port is connected with the client, and the second ports are connected with a substrate control manager on a server;
the receiving of the management instruction of the asset information of the server sent by the client comprises:
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 for establishing communication connection between the out-of-band manager and the client;
and configuring an internal network address to a substrate control manager on the server through a second port, and acquiring asset information of the server stored in the substrate control manager through the internal network address by the out-of-band manager.
The out-of-band address is an address of the out-of-band manager managed by the client, the client can send a management instruction to the out-of-band manager through the out-of-band address, and then the out-of-band manager receives and analyzes the management instruction, so that a corresponding server is determined, and asset information of the server is extracted through an internal network address corresponding to the server.
In order to improve the security and reliability of the asset information of the server, as shown in fig. 5, optionally, after configuring the intranet address to the baseboard control manager on the server through the second port, the method further includes:
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 through an initial authentication password pre-stored in the baseboard management controller;
s202: receiving an authentication result fed back by the substrate management controller, and judging whether authentication is successful or not;
s203: and if the authentication is successful, establishing a corresponding relation between the intranet address and the asset information of the server.
It can be understood that the security of the communication connection between the out-of-band manager and the baseboard management controller can be ensured by the authentication password, so as to implement secure transmission of data, and the authentication password may be set according to actual situations, for example, set in a form of a combination of letters, numbers, and characters, or other setting manners, which is not limited in the embodiment of the present specification.
In some other embodiments, the initial authentication password pre-stored in the baseboard management controller may be obtained by encrypting through a preset encryption algorithm, for example, the initial authentication password may be obtained by encrypting through a preset encryption algorithm by combining a cabinet identifier and a server identifier, and may also be obtained by encrypting through other data, accordingly, the out-of-band manager also needs to obtain an authentication password by obtaining an identifier of the server corresponding to the cabinet identifier and the intranet address and encrypting through the preset encryption algorithm, and then sends the authentication password to the baseboard management controller for matching, so that security of asset information of the server may be improved, leakage of data in the baseboard management controller may be reduced, and the baseboard management controller is particularly suitable for some financial industries and the like with higher security requirements, and the preset encryption algorithm may be an AES encryption algorithm, an RSA encryption algorithm, an intranet encryption algorithm, a data encryption algorithm, and a data encryption algorithm, and a data encryption algorithm, and a data encryption algorithm are included in a data encryption algorithm, and a data encryption algorithm, which are stored in a data encryption algorithm, and a data encryption algorithm, which are included in a data encryption algorithm, which are stored in a data encryption algorithm, and a data encryption algorithm, which are included in a data encryption algorithm, stored in a data encryption algorithm, and a data encryption algorithm stored in a data encryption algorithm, stored in a data encryption algorithm stored in a data which are stored in a, Hash algorithm, etc., and the specific algorithm form is not limited in the embodiments of the present specification.
In this embodiment of the present specification, the receiving an authentication result fed back by the baseboard management controller, and determining whether authentication is successful includes:
receiving a feedback message of the substrate management controller in a specified time period;
analyzing the feedback message, and judging whether an authentication success identifier exists in the feedback message;
and if so, determining that the authentication of the baseboard management controller is successful.
In a further embodiment, if the feedback packet of the bmc is not received within a specified time period, it is determined that the bmc fails to authenticate.
Whether authentication succeeds or not can be quickly determined through analysis of a feedback message sent by a baseboard management controller, when authentication fails, an authentication failure prompt can be sent to a user to enable the user to adjust in time, wherein the authentication success identifier can be a special field in the feedback message, such as 'true' or 'success', and the specified time period is the theoretical maximum feedback time of the baseboard management controller, and can be set manually, such as 1s and 2s, and is not limited in the embodiment of the description.
In an embodiment of the present specification, after configuring an intranet address to a baseboard control manager on the server through the second port, the method further includes:
determining the positioning information of the server according to the server connected with the second port;
and establishing a corresponding relation between the positioning information of the server and the intranet address of the server according to the intranet address corresponding to the second port and the positioning information of the server.
It is understood that the location information of the server is the location information of the server in the cabinet, such as the layer number of the cabinet. The location information may be determined when the server is installed and deployed, may be determined manually, or may be determined by the port number of the second port in the out-of-band manager, for example, when the server is installed and deployed, the location information may be sequentially arranged from bottom to top, and when the server is connected to the out-of-band manager, the location information of the server connected to the server may be determined by the port number of the second port. The corresponding relation between the positioning information of the server and the intranet address is established, namely the asset information of the corresponding server is advanced through the positioning information, the retrieval condition is increased, and the management efficiency of the asset information of the server is improved.
In a further embodiment, the corresponding relationship between the positioning information of the server and the intranet address corresponding to the second port may be sent to the client, so that management of the asset information of the server and query of the asset information of the server in more ways may be implemented at the client.
In a further embodiment of this specification, after the establishing a corresponding relationship between the positioning information of the server and the intranet address of the server, the method further includes:
determining a port number of the second port and a server connected with the second port;
determining the positioning information of the server connected with the second port;
and establishing a corresponding relation between the port number and the positioning information according to the port number of the second port and the positioning information of the server, and sending the corresponding relation between the port number and the positioning information to the client.
It can be understood that, after the server is connected to the out-of-band manager, by establishing the corresponding relationship between the port number and the positioning information, that is, setting a corresponding tag for the port number of the second port, the position of the server in the cabinet can be positioned through the second port, thereby further improving the efficiency of server management.
Further, the stability of the server connection may be judged according to the stability of the second port connection, for example, when the second port connection is unstable, leakage of data transmission may be caused, so that the out-of-band manager may detect the stability of the second port connection line in real time (for example, whether a port is successfully connected), and when the instability occurs, a corresponding server may be quickly determined through a port number, so as to disconnect the data transmission of the server, and protect asset information of the server.
The method for managing the out-of-band information of the machine room server provided by the embodiment of the specification is suitable for the out-of-band manager, and through the established corresponding relation between the internal network 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, so that the asset information of the server in the cabinet can be managed, the distribution of the out-of-band address is reduced, and the management efficiency and the management reliability are improved.
Based on the same inventive concept, an embodiment of the present specification further provides an out-of-band information management apparatus for a machine room server, as shown in fig. 6, the apparatus includes:
an instruction receiving module 100, configured to receive a management instruction of asset information of a server sent by a client;
an identification information determining module 200, configured to determine, according to the management instruction, identification information of asset information of the server to be extracted;
an extraction module 300, configured to determine an intranet address corresponding to asset information of a server to be extracted according to identification information of the asset information of the server to be extracted and a 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 400, configured to send the extracted asset information to the client through an out-of-band network.
The advantages obtained by the device are consistent with those obtained by the method, and the embodiments of the present description are not repeated.
On the basis of the device and the method for managing the out-of-band information of the machine room server, an embodiment of the present specification further provides a machine room, and the machine room is provided with the device for managing the out-of-band information of the machine room server.
It should be noted that the device, the method, and the machine room for managing the out-of-band information of the machine room server provided in the embodiments of the present specification may be used in the field of machine room equipment in the financial field, and may also be used in any field other than the financial field.
As shown in fig. 7, for a computer device provided in this embodiment, the computer room server out-of-band information management apparatus in this embodiment may be a computer device in this embodiment, and performs the above method in this embodiment, and the computer device 702 may include one or more processors 704, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 702 may also include any memory 706 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, the memory 706 can include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, 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 fixed or removable components of computer device 702. In one case, when the processor 704 executes associated instructions that are stored in any memory or combination of memories, the computer device 702 can perform any of the operations of the associated instructions. The computer device 702 also includes one or more drive mechanisms 708, such as a hard disk drive mechanism, an optical disk drive mechanism, or the like, for interacting with any memory.
Computer device 702 can also include an input/output module 710(I/O) for receiving various inputs (via input device 712) and for providing various outputs (via output device 714)). One particular output mechanism may include a presentation device 716 and an associated Graphical User Interface (GUI) 718. In other embodiments, input/output module 710(I/O), input device 712, and output device 714 may also not be included, as only one computer device in a network. Computer device 702 can 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 above-described components together.
Communication link 722 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. 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.
Corresponding to the methods in fig. 4-5, the embodiments herein also provide a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, performs the steps of the above-described method.
Embodiments herein also provide computer readable instructions, wherein when executed by a processor, a program thereof causes the processor to perform the method as shown in fig. 4-5.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, meaning that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments herein.
In addition, functional units in the embodiments herein may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present invention may be implemented in a form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principles and embodiments of this document are explained herein using specific examples, which are presented only to aid in understanding the methods and their core concepts; meanwhile, for the general technical personnel in the field, according to the idea of this document, there may be changes in the concrete implementation and the application scope, in summary, this description should not be understood as the limitation of this document.