Server adaptation method and device and related equipment

By obtaining and simulating the IPMI interface data of the target server, creating a simulated server to achieve simulation adaptation, solving the problem of not being able to adapt to the IPMI server in the development environment, and improving the development efficiency and customer satisfaction of the operation and maintenance monitoring tools.

CN118964256APending Publication Date: 2024-11-15NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411094778.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When developing server operation and maintenance monitoring tools, the hexadecimal requests and parsing data of the IPMI protocol are complex, making it difficult to quickly develop tools without a real physical server. The operation and maintenance software needs to obtain the server IPMI interface data structure and data in real time. Performing analysis results in the inability to adapt quickly without adapting to the server, increasing the software operation cost.

Method used

By obtaining the IPMI interface data of the target server, creating a simulation server, and configuring the network address and interface of the simulation server to establish communication with the development equipment in the development environment, realizing simulation adaptation to the target server, and developing operation and maintenance monitoring tools.

Benefits of technology

It improves the in-management debugging efficiency of unadapted IPMI servers, reduces the costs of automated operation and maintenance software companies, and improves customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964256A_ABST
    Figure CN118964256A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of operation and maintenance monitoring, in particular to a server adaptation method and device and related equipment. The method is applied to a simulator and comprises the steps that target interface data of a to-be-adapted target server is acquired, and the target interface data comprises an intelligent platform management interface (IPMI) request received by an IPMI of the target server and a response fed back based on the IPMI request; creating a target simulation server corresponding to the target server; the network address of the target simulation server is configured, a target simulation interface of the target simulation server is configured based on the target interface data, and the target simulation server establishes communication with a development device in a development environment based on the network address. Sending the target interface data to the development equipment, so that the development equipment adapts to the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operating, maintaining and monitoring the target server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of operation and maintenance monitoring technology, and in particular to a server adaptation method, device and related equipment. Background Art

[0002] With the development of computer and server technology, the continuous expansion of data center scale and the sharp increase in the number of enterprise servers, enterprises and organizations need to effectively remotely monitor and manage a large number of server devices. Many old server devices may not support new management protocols, and IPMI interacts directly with hardware and does not rely on the operating system, which makes IPMI still occupy a very important position in the field of server hardware monitoring and operation and maintenance.

[0003] IPMI hexadecimal requests and parsing data are relatively complex, making it difficult to quickly develop server operation and maintenance monitoring tools without a real physical server. The IPMI protocol server simulator allows the site to obtain data by running the tool. The operation and maintenance team obtains the server data obtained on site and then simulates the server, effectively improving the efficiency of server hardware management adaptation and development and testing.

[0004] However, when the operation and maintenance software is adapting and managing the server based on the IPMI protocol, it needs to obtain the data structure and data of the current server IPMI interface in real time for analysis. In the case that there are unadapted servers at some locations, it is impossible to quickly adapt, or developers need to travel to the site for adaptation, resulting in increased software operation costs. Summary of the invention

[0005] The present application provides a server adaptation method, apparatus and related equipment.

[0006] In a first aspect, the present application provides a server adaptation method, which is applied to a simulator, and the method comprises:

[0007] Acquire target interface data of the target server to be adapted, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request;

[0008] Creating a target simulation server corresponding to the target server;

[0009] Configure the network address of the target simulation server, and based on the target interface data, configure the target simulation interface of the target simulation server, wherein the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0010] Optionally, a collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving IPMI responses respectively returned by the IPMI of the server to be adapted based on each request is pre-deployed in the actual networking environment where the target server is located;

[0011] The steps of obtaining target interface data of the target server to be adapted include:

[0012] Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program sequentially sends IPMI requests to the IPMI of the target server based on the collection instruction, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator;

[0013] Receive target interface data including each IPMI request and an IPMI response corresponding to the IPMI request sent by the acquisition program.

[0014] In a second aspect, the present application provides a server adaptation method, which is applied to a collection device, and the method includes:

[0015] Receive a collection instruction of target interface data of a target server sent by the simulator;

[0016] Based on the collection instruction, the target interface data of the target server is collected, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request;

[0017] The target interface data of the target server is sent to the simulator, so that the simulator creates a target simulation server corresponding to the target server based on the target interface data of the target server; the network address of the target simulation server is configured, and based on the target interface data, the target simulation interface of the target simulation server is configured, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0018] Optionally, the acquisition device is pre-deployed with an acquisition program for sending each IPMI request to the IPMI of the server to be adapted, and receiving an IPMI response returned by the IPMI of the server to be adapted based on each request; based on the acquisition instruction, the step of acquiring the target interface data of the target server includes:

[0019] The acquisition program sends IPMI requests to the IPMI of the target server in sequence based on the acquisition instructions, receives IPMI responses fed back by the IPMI of the target server based on each IPMI request, and uses each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server.

[0020] In a third aspect, the present application provides a server adaptation device, applied to a simulator, the device comprising:

[0021] An acquisition unit, configured to acquire target interface data of a target server to be adapted, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request;

[0022] A creation unit, used for creating a target simulation server corresponding to the target server;

[0023] A configuration unit is used to configure the network address of the target simulation server and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0024] Optionally, a collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving IPMI responses respectively returned by the IPMI of the server to be adapted based on each request is pre-deployed in the actual networking environment where the target server is located;

[0025] When acquiring the target interface data of the target server to be adapted, the acquisition unit is specifically used to:

[0026] Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program sequentially sends IPMI requests to the IPMI of the target server based on the collection instruction, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator;

[0027] Receive target interface data including each IPMI request and an IPMI response corresponding to the IPMI request sent by the acquisition program.

[0028] In a fourth aspect, the present application provides a server adaptation device, which is applied to a collection device, and the device includes:

[0029] A receiving unit, used for receiving a collection instruction of target interface data of a target server sent by the simulator;

[0030] A collection unit, configured to collect target interface data of the target server based on the collection instruction, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request;

[0031] A sending unit is used to send the target interface data of the target server to the simulator, so that the simulator creates a target simulation server corresponding to the target server based on the target interface data of the target server; configure the network address of the target simulation server, and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0032] Optionally, a collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request is pre-deployed on the collection device; when collecting the target interface data of the target server based on the collection instruction, the collection unit is specifically used to:

[0033] Based on the acquisition instruction, IPMI requests are sent to the IPMI of the target server in sequence, and IPMI responses fed back by the IPMI of the target server based on each IPMI request are received, and each IPMI request and the IPMI response corresponding to the IPMI request are used as the target interface data of the target server.

[0034] In a fifth aspect, an embodiment of the present application provides a server adapter device, the server adapter device comprising:

[0035] A memory for storing program instructions;

[0036] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0037] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the above-mentioned first aspects.

[0038] In a seventh aspect, an embodiment of the present application provides a server adapter device, the server adapter device comprising:

[0039] A memory for storing program instructions;

[0040] The processor is used to call the program instructions stored in the memory and execute the steps of the method as described in any one of the second aspects according to the obtained program instructions.

[0041] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the second aspects above.

[0042] In summary, the server adaptation method provided in the embodiment of the present application is applied to a simulator, and the method includes: obtaining target interface data of the target server to be adapted, wherein the target interface data includes an IPMI request received by the intelligent platform management interface IPMI of the target server and a response based on the IPMI request feedback; creating a target simulation server corresponding to the target server; configuring the network address of the target simulation server, and configuring the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0043] The server adaptation method provided in the embodiment of the present application is adopted to obtain the IPMI interface data of the server to be adapted, simulate and generate the simulation server of the server to be adapted, and realize the simulation adaptation of the server to be adapted by adapting the simulation server, so that the development environment can develop the operation and maintenance monitoring software for operation and maintenance monitoring of the server to be adapted. The defect that the development environment has no on-site server model and cannot adapt the on-site IPMI server is solved, which facilitates the developers to manage and debug the unadapted IPMI server, improves the adaptation efficiency of the automated operation and maintenance software, avoids the automated operation and maintenance software company arranging the developers to travel, reduces the cost of the automated operation and maintenance software company, and greatly improves customer satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0045] Figure 1 A detailed flow chart of a server adaptation method provided in an embodiment of the present application;

[0046] Figure 2 A detailed flow chart of another server adaptation method provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the structure of a server adapter device provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of the structure of another server adapter device provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of the hardware architecture of a server adapter device provided in an embodiment of the present application;

[0050] Figure 6 A schematic diagram of the hardware architecture of another server adapter device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0052] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0053] For example, see Figure 1 As shown, it is a detailed flow chart of a server adaptation method provided in an embodiment of the present application, the method is applied to a simulator, and the method comprises the following steps:

[0054] Step 100: Acquire target interface data of the target server to be adapted.

[0055] The target interface data includes an IPMI request received by the IPMI of the target server and a response fed back based on the IPMI request.

[0056] In an embodiment of the present application, when it is determined that an operation and maintenance monitoring software for a server (such as a target server) needs to be developed, the development environment needs to first adapt to the target server (adapt the data results and other information of the IPMI of the target server). Then, a collection program for sending each IPMI request to the IPMI of the server to be adapted (target server) and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request can be deployed in advance in the actual networking environment where the target server is located (such as a collection device), and the IPMI interface data of the server to be adapted is collected through the collection program.

[0057] Specifically, when obtaining the target interface data of the target server to be adapted, a preferred implementation method is:

[0058] Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program, based on the collection instruction, sequentially sends IPMI requests to the IPMI of the target server, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator; receiving the target interface data including each IPMI request and the IPMI response corresponding to the IPMI request sent by the collection program.

[0059] In actual applications, the collection program is preset with several IPMI requests and the sending order of each IPMI request. When the collection program determines that it is necessary to send an IPMI request to the IPMI of the target server, the collection program sends the IPMI requests to the IPMI of the target server in sequence based on the sending order of each IPMI request. When the target server receives an IPMI request, it will feedback the corresponding IPMI response to the collection program based on the preset rules. In this way, the collection program can generate the target interface data file of the target server based on each IPMI request sent and its corresponding IPMI response, and based on the sent IPMI requests and the corresponding IPMI responses.

[0060] Step 110: Create a target simulation server corresponding to the target server.

[0061] Specifically, the simulator is a simulator for simulating an IPMI protocol server, which can be arranged in a development environment or deployed in a network that can be directly accessed by the development environment, and this application does not make specific restrictions here. After obtaining the target interface data of the target server, the simulator can create a simulation server for simulating the target server.

[0062] Step 120: Configure the network address of the target simulation server, and configure the target simulation interface of the target simulation server based on the target interface data.

[0063] Specifically, the simulator obtains the target interface data of the target server, simulates and generates the target simulation server corresponding to the target server, and configures the IP address, port and other data of the simulated server. That is, the target server is simulated in the simulation environment, so that the development environment can access the simulated target server to achieve access simulation of the target server.

[0064] In an embodiment of the present application, the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data and develops an operation and maintenance monitoring tool for operating and monitoring the target server.

[0065] In this way, the development equipment in the development environment can obtain information such as the IPMI interface data of the target server by accessing the target simulation server, parse the obtained interface data, and develop operation and maintenance monitoring software that can be used to operate and monitor the target server.

[0066] For example, see Figure 2 As shown, it is a detailed flow chart of a server adaptation method provided in an embodiment of the present application. The method is applied to a collection device, and the method includes the following steps:

[0067] Step 200: receiving a collection instruction of target interface data of a target server sent by a simulator.

[0068] In the embodiment of the present application, the acquisition device refers to a device that is not in the actual networking environment where the target server is located and can access the target server. Specifically, it can be directly deployed on the server to be adapted, or it can be deployed on the management device of the server to be adapted. In the embodiment of the present application, no specific limitation is made here.

[0069] Step 210: Based on the collection instruction, collect the target interface data of the target server.

[0070] Specifically, the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request.

[0071] Step 220: Send the target interface data of the target server to the simulator.

[0072] From the above, it can be seen that the simulator can create a target simulation server corresponding to the target server based on the target interface data of the target server; configure the network address of the target simulation server, and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0073] For example, see Figure 3 FIG. 1 is a schematic diagram of a server adapter provided in an embodiment of the present application. The server adapter is applied to a simulator and includes:

[0074] The acquisition unit 30 is used to acquire the target interface data of the target server to be adapted, wherein the target interface data includes the IPMI request received by the intelligent platform management interface IPMI of the target server and the response fed back based on the IPMI request;

[0075] A creation unit 31, used for creating a target simulation server corresponding to the target server;

[0076] The configuration unit 32 is used to configure the network address of the target simulation server and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0077] Optionally, a collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving IPMI responses respectively returned by the IPMI of the server to be adapted based on each request is pre-deployed in the actual networking environment where the target server is located;

[0078] When acquiring the target interface data of the target server to be adapted, the acquisition unit 30 is specifically used to:

[0079] Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program sequentially sends IPMI requests to the IPMI of the target server based on the collection instruction, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator;

[0080] Receive target interface data including each IPMI request and an IPMI response corresponding to the IPMI request sent by the acquisition program.

[0081] For example, see Figure 4 FIG. 1 is a schematic diagram of a server adapter provided by the present application, which is applied to a collection device and includes:

[0082] The receiving unit 40 is used to receive a collection instruction of target interface data of a target server sent by the simulator;

[0083] A collection unit 41 is used to collect target interface data of the target server based on the collection instruction, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request;

[0084] A sending unit 42 is used to send the target interface data of the target server to the simulator, so that the simulator creates a target simulation server corresponding to the target server based on the target interface data of the target server; configures the network address of the target simulation server, and configures the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

[0085] Optionally, a collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request is pre-deployed on the collection device; when collecting the target interface data of the target server based on the collection instruction, the collection unit 41 is specifically used for:

[0086] Based on the acquisition instruction, IPMI requests are sent to the IPMI of the target server in sequence, and IPMI responses fed back by the IPMI of the target server based on each IPMI request are received, and each IPMI request and the IPMI response corresponding to the IPMI request are used as the target interface data of the target server.

[0087] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0088] Furthermore, the server adapter device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the server adapter device can be seen in Figure 5 As shown, the server adaptation device may include: a memory 50 and a processor 51,

[0089] The memory 50 is used to store program instructions; the processor 51 calls the program instructions stored in the memory 50, and executes the above method embodiment applied to the simulator according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0090] Optionally, the present application also provides a simulator, comprising at least one processing element (or chip) for executing the above method embodiment applied to the simulator.

[0091] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above-mentioned method embodiment applied to the simulator.

[0092] Furthermore, the server adapter device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the server adapter device can be seen in Figure 6 As shown, the server adaptation device may include: a memory 60 and a processor 61,

[0093] The memory 60 is used to store program instructions; the processor 61 calls the program instructions stored in the memory 60 and executes the above method embodiment applied to the acquisition device according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0094] Optionally, the present application also provides an acquisition device, comprising at least one processing element (or chip) for executing the above-mentioned method embodiment applied to the acquisition device.

[0095] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above-mentioned method embodiment applied to the acquisition device.

[0096] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0097] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0098] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0103] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A server adaptation method, characterized in that: Applied to a simulator, the method comprises: Acquire target interface data of the target server to be adapted, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request; Creating a target simulation server corresponding to the target server; Configure the network address of the target simulation server, and based on the target interface data, configure the target simulation interface of the target simulation server, wherein the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

2. The method according to claim 1, characterized in that A collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request is pre-deployed in the actual networking environment where the target server is located; The steps of obtaining target interface data of the target server to be adapted include: Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program sequentially sends IPMI requests to the IPMI of the target server based on the collection instruction, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator; Receive target interface data including each IPMI request and an IPMI response corresponding to the IPMI request sent by the acquisition program.

3. A server adaptation method, characterized in that: Applied to a collection device, the method comprises: Receive a collection instruction of target interface data of a target server sent by the simulator; Based on the collection instruction, the target interface data of the target server is collected, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request; The target interface data of the target server is sent to the simulator, so that the simulator creates a target simulation server corresponding to the target server based on the target interface data of the target server; the network address of the target simulation server is configured, and based on the target interface data, the target simulation interface of the target simulation server is configured, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

4. The method according to claim 3, characterized in that The acquisition device is pre-deployed with an acquisition program for sending each IPMI request to the IPMI of the server to be adapted, and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request; Based on the collection instruction, the step of collecting the target interface data of the target server includes: The acquisition program sends IPMI requests to the IPMI of the target server in sequence based on the acquisition instructions, receives IPMI responses fed back by the IPMI of the target server based on each IPMI request, and uses each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server.

5. A server adapter device, characterized in that: Applied to a simulator, the device comprises: An acquisition unit, configured to acquire target interface data of a target server to be adapted, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request; A creation unit, used for creating a target simulation server corresponding to the target server; A configuration unit is used to configure the network address of the target simulation server and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with a development device in a development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

6. The device according to claim 5, characterized in that A collection program for sending each IPMI request to the IPMI of the server to be adapted and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request is pre-deployed in the actual networking environment where the target server is located; When acquiring the target interface data of the target server to be adapted, the acquisition unit is specifically used to: Sending a collection instruction carrying the target server identifier to the collection program, so that the collection program sequentially sends IPMI requests to the IPMI of the target server based on the collection instruction, receives IPMI responses respectively fed back by the IPMI of the target server based on each IPMI request, and sends each IPMI request and the IPMI response corresponding to the IPMI request as the target interface data of the target server to the simulator; Receive target interface data including each IPMI request and an IPMI response corresponding to the IPMI request sent by the acquisition program.

7. A server adapter device, characterized in that: Applied to a collection device, the device comprises: A receiving unit, used for receiving a collection instruction of target interface data of a target server sent by the simulator; A collection unit, configured to collect target interface data of the target server based on the collection instruction, wherein the target interface data includes an IPMI request received by an intelligent platform management interface IPMI of the target server and a response fed back based on the IPMI request; A sending unit is used to send the target interface data of the target server to the simulator, so that the simulator creates a target simulation server corresponding to the target server based on the target interface data of the target server; configure the network address of the target simulation server, and configure the target simulation interface of the target simulation server based on the target interface data, wherein the target simulation server establishes communication with the development device in the development environment based on the network address, so that the development device adapts the target simulation server based on the target interface data, and develops an operation and maintenance monitoring tool for operation and maintenance monitoring of the target server.

8. The device according to claim 7, characterized in that The acquisition device is pre-deployed with an acquisition program for sending each IPMI request to the IPMI of the server to be adapted, and receiving the IPMI response returned by the IPMI of the server to be adapted based on each request; when acquiring the target interface data of the target server based on the acquisition instruction, the acquisition unit is specifically used for: Based on the acquisition instruction, IPMI requests are sent to the IPMI of the target server in sequence, and IPMI responses fed back by the IPMI of the target server based on each IPMI request are received, and each IPMI request and the IPMI response corresponding to the IPMI request are used as the target interface data of the target server.

9. A server adapter device, characterized in that: The server adapter device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps of the method according to any one of claims 1-2, or any one of claims 3-4 according to the obtained program instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method as described in any one of claims 1-2, or any one of claims 3-4.