CN117435212A - Bare metal server management method and related device - Google Patents

Bare metal server management method and related device Download PDF

Info

Publication number
CN117435212A
CN117435212A CN202311289300.1A CN202311289300A CN117435212A CN 117435212 A CN117435212 A CN 117435212A CN 202311289300 A CN202311289300 A CN 202311289300A CN 117435212 A CN117435212 A CN 117435212A
Authority
CN
China
Prior art keywords
bare metal
metal server
dpu
operating system
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311289300.1A
Other languages
Chinese (zh)
Inventor
张春龙
龙鹏
王杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huawei Cloud Computing Technology Co ltd
Original Assignee
Shenzhen Huawei Cloud Computing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huawei Cloud Computing Technology Co ltd filed Critical Shenzhen Huawei Cloud Computing Technology Co ltd
Priority to CN202311289300.1A priority Critical patent/CN117435212A/en
Publication of CN117435212A publication Critical patent/CN117435212A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The embodiment of the application provides a bare metal server management method and a related device, wherein the bare metal server management method is applied to a data processor DPU connected with a bare metal server, and comprises the following steps: the DPU establishes a mapping between the operating system image file and the bare metal server so that the bare metal server can load the operating system in the operating system image file, then transmits a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, and the bare metal server is managed by the operating system loaded by the bare metal server according to the management instruction.

Description

Bare metal server management method and related device
Technical Field
The present disclosure relates to the field of server technologies, and in particular, to a bare metal server management method and a related device.
Background
The bare metal server (Bare Metal Server, BMS) is a computing service with virtual machine elasticity and physical machine performance, provides a dedicated cloud physical server, and provides excellent computing performance and data security for core databases, key application systems, high-performance computing, big data and other services.
Since there is no operating system in the bare metal server, the bare metal server is usually managed by a data center, but the existing management method has high management cost and no versatility.
Disclosure of Invention
The application provides a bare metal server management method and a related device, wherein a data processor (Data Processing Unit, DPU) establishes a mapping between an operating system image file and a bare metal server, so that the bare metal server can load an operating system in the operating system image file, the DPU transmits a management instruction through a data transmission channel between the DPU and the bare metal server, the operating system loaded by the bare metal server manages the bare metal server according to the management instruction, and the management method is realized through the DPU inserted into the bare metal server, is suitable for various servers, and has strong universality and lower management cost.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a bare metal server management method is provided, which is applied to a data processor DPU connected with a bare metal server; the method comprises the following steps: mapping the operating system image file with the bare metal server so that the bare metal server loads an operating system in the operating system image file; and sending a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, so that an operating system loaded in the bare metal server manages the bare metal server according to the management instruction.
By adopting the technical scheme, the mapping between the Operating System (OS) mirror image file and the bare metal server is established through the DPU, so that the bare metal server can load the Operating System in the Operating System mirror image file, and then a management instruction is sent to the loaded Operating System through a data transmission channel between the DPU and the bare metal server, so that the loaded Operating System manages the bare metal server according to the management instruction.
Further, the relation to the bare metal server does not need to build a pre-boot execution environment (Preboot eXecution Environment, PXE) system and does not need to customize hardware, the management process has less dependence on the periphery, and the management cost is low.
In some embodiments of the first aspect, the method further comprises: and receiving a management response corresponding to the management instruction sent by the bare metal server through the data transmission channel.
Therefore, the data bidirectional interaction between the bare metal server and the DPU is realized through the data transmission channel, the bare metal server can be managed through the bidirectional data channel, and the management result is obtained.
In some embodiments of the first aspect, the operating system image file is stored in the DPU.
In this way, a mapping is established between the operating system image file stored in the DPU and the bare metal server, so that the bare metal server can load the operating system in the operating system image system.
In some embodiments of the first aspect, the operating system image file is stored in a remote storage pool, the remote storage pool being connected to the DPU, the remote storage pool sharing the operating system image file to the DPU.
In this manner, the remote storage pool shares the operating system to the DPU so that the DPU can map the operating system image files with the bare metal server so that the bare metal server can load the operating system in the operating system image system. Because the operating system image file is provided by the remote storage pool, when the user demand changes or a new demand exists for the management of the bare metal server, the updated operating system image file can be acquired in real time, and then the operating system image file is shared with the DPU, so that the updating of the operating system image file is realized, the DPU is not required to be changed, and the updating of the operating system loaded by the bare metal server is convenient and rapid.
In some embodiments of the first aspect, the DPU has a transmission image file stored therein, the method further comprising: and mapping the transmission image file with the bare metal server to establish the data transmission channel between the DPU and the bare metal server.
Therefore, mapping is established between the transmission image file in the DPU and the bare metal server, the bare metal server and the DPU can read and write the transmission image file, and a data transmission channel between the DPU and the bare metal server is established through the transmission image file, so that bidirectional data interaction between the DPU and the bare metal server is realized. And transmitting a management instruction through a data transmission channel between the DPU and the bare metal server, and managing the bare metal server by an operating system loaded by the bare metal server according to the management instruction.
In some embodiments of the first aspect, the bare metal server has a direct access DMA memory therein, the DMA memory being a memory of the bare metal server providing storage space based on DMA technology, the sending management instructions to the bare metal server through a data transmission channel between the DPU and the bare metal server comprises: and writing the management instruction into the direct access DMA memory.
Therefore, the establishment of the data transmission channel between the bare metal server and the DPU is realized through the DMA in the bare metal server, and the bare metal server and the DPU realize the bidirectional interaction of data through the data transmission channel.
In some embodiments of the first aspect, the DPU is connected to a remote storage pool that obtains an operating system image file by invoking a storage interface and mounts the operating system image file to the DPU.
In a second aspect, a bare metal server management system is provided, including a bare metal server and a DPU, the bare metal server being connected to the DPU; the DPU is used for establishing mapping between an operating system image file and the bare metal server so that the bare metal server loads an operating system in the operating system image file;
the DPU is also used for sending a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, so that an operating system loaded in the bare metal server manages the bare metal server according to the management instruction.
In a third aspect, there is provided a DPU comprising: a memory including computer readable instructions;
A processor in communication with the memory, the processor to execute the computer readable instructions to cause the DPU to perform the bare metal server management method of any one of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium comprising a program or instructions which, when executed by a processor, implements the bare metal server management method according to any one of the first aspects.
The bare metal server management system provided in the second aspect of the embodiments of the present application, the DPU provided in the third aspect, and the computer-readable storage medium provided in the fourth aspect may all refer to descriptions in various possible implementations of the first aspect, and are not described in detail herein.
Drawings
Fig. 1 is a schematic diagram of a bare metal server management system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a bare metal server management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a bare metal server management system according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a bare metal server management system according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a bare metal server management system according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a bare metal server management system according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a DPU according to an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described below with reference to the accompanying drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present specification.
It will be appreciated that since there is no operating system within the bare metal server, the bare metal server is typically managed through a data center, including out-of-band management, dedicated control card management, and the like.
The out-of-band management is to provide management capability to the outside by utilizing a baseboard management controller (Baseboard Management Controller, BMC) of the bare metal server, firstly obtain the BMC address, the user name and the password of the bare metal server, and then call an intelligent platform management interface (Intelligent Platform Management Interface, IPMI) to perform configuration management on the bare metal server;
the special control card management is to customize the special control card for the bare metal server, insert the special control card into the bare metal server, and manage the bare metal server through the special control card.
The management method has the following problems:
1. out-of-band management mainly depends on functions provided by BMCs of bare metal servers, interfaces and capabilities provided by various bare metal server manufacturers are different, unified management operation and maintenance are inconvenient, and BMCs are limited in processable scenes and have no universality.
2. The special control card management needs to customize the server, cannot be used for a general server and has high cost.
Based on the above-mentioned problems, the embodiments of the present application provide a bare metal server management method, in which a DPU is inserted into a bare metal server to implement connection between the DPU and the bare metal server, and a mapping between an Operating System (OS) image file and the bare metal server is established through the DPU, so that the bare metal server can load the Operating System in the Operating System image file, and then a management instruction is sent to the loaded Operating System through a data transmission channel between the DPU and the bare metal server, so that the loaded Operating System manages the bare metal server according to the management instruction.
First, a schematic diagram of a bare metal server management system suitable for the bare metal server management method provided in the present application is described.
Referring to fig. 1, fig. 1 is a schematic diagram of a bare metal server management system provided in an embodiment of the present application, where the bare metal server management system includes a bare metal server and a DPU, and in fig. 1, the DPU is inserted into the bare metal server to implement connection between the DPU and the bare metal server.
After the DPU is connected with the bare metal server, the DPU establishes a mapping between the operating system image file and the bare metal server, and the bare metal server can load the operating system in the operating system image file by restarting the bare metal server; and then the DPU sends a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, and the bare metal server is managed according to the management instruction after an operating system loaded by the bare metal server receives the management instruction.
Alternatively, the management object of the operating system loaded by the bare metal server may be a resource in the bare metal server that is not unloaded by the DPU, such as heterogeneous acceleration hardware (graphics processor (graphics processing unit, GPU) and the like), memory, local disk, network card and the like.
Referring to fig. 2, fig. 2 is a flow chart of a bare metal server management method according to an embodiment of the present application, and the DPU shown in fig. 1 is taken as an example to illustrate that fig. 2 is applied to the bare metal server management method in fig. 2 includes: S201-S202.
S201, mapping the operating system image file and the bare metal server so that the bare metal server loads the operating system in the operating system image file.
The DPU establishes a mapping between the operating system image file and the bare metal server, so that the bare metal server loads the operating system in the operating system image file, and then can manage the bare metal server through the loaded operating system, such as server baseline configuration, local disk erasure, special hardware configuration, and the like.
Optionally, the DPU may establish a mapping of the operating system image file to the bare metal server after receiving the management command for the bare metal server. For example, when a configuration instruction of a user is received and standardized configuration needs to be performed on the bare metal server, a mapping between an operating system image file and the bare metal server may be first established, so that the bare metal server loads an operating system in the operating system image file.
Optionally, the DPU establishes a mapping between the operating system image file and the bare metal server by establishing the implementation manner so that the bare metal server loads the operating system image file, and the DPU may establish a mapping between the operating system image file and the bare metal server by: if the format of the operating system image file is in a raw material (raw) format, the operating system image file can be created into an Asynchronous I/O block device (AIO bdev) through a storage performance development kit (Storage Performance Development Kit, SPDK), and then the created AIO bdev is mounted on the bare metal server to realize that the operating system image file and the bare metal server are mapped so that the bare metal server can load the operating system image file.
S202, a management instruction is sent to the bare metal server through a data transmission channel, so that an operating system loaded in the bare metal server manages the bare metal server according to the management instruction.
Alternatively, since the DPU is inserted into the bare metal server, connection between the DPU and the bare metal server is achieved through a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) interface, and a data transmission channel between the DPU and the bare metal server is achieved based on the PCI interface.
Optionally, the DPU has a management plane (e.g., a management plane Agent (Agent)), where the management plane Agent may receive a management instruction sent by the bare metal management plane, and after receiving the management instruction, the management plane Agent sends the management instruction to the bare metal server through the data transmission channel.
Alternatively, the data transmission channel may be established when the DPU is plugged into the bare metal server, or when there is a data transmission requirement between the DPU and the bare metal server (e.g., when the DPU transmits management instructions to the bare metal server).
Therefore, the DPU inserted into the bare metal server loads the operating system image file through the bare metal server so as to provide the operating system with the management function for the bare metal server by establishing the mapping between the operating system image file and the bare metal server, then the DPU establishes a data transmission channel between the bare metal server and the DPU and sends a management instruction to the bare metal server through the data transmission channel, so that the operating system loaded by the bare metal server can manage the bare metal server according to the management instruction.
Further, the relation to the bare metal server does not need to build a pre-boot execution environment (Preboot eXecution Environment, PXE) system and does not need to customize hardware, the management process has less dependence on the periphery, and the management cost is low.
Further, the management method is applicable to various configuration scenes, such as management of devices which cannot be unloaded in the DPU in the bare metal server, is applicable to various bare metal servers, and has good applicability.
In an alternative implementation manner, please refer to fig. 3, fig. 3 is a schematic diagram of a bare metal server management system provided in an embodiment of the present application, where the bare metal server management system includes a DPU and a bare metal server, an operating system image file OS is stored in the DPU, the operating system image file OS includes an operating system, and the DPU establishes a mapping between the OS and a preset device (for example, a physical hard disk sda) in the bare metal server, so that the bare metal server can load the operating system in the operating system image file, and then the operating system loaded by the bare metal server is OS'.
In this way, a mapping is established between the operating system image file locally stored by the DPU and the bare metal server, so that the bare metal server loads the operating system in the operating system image file and can manage the bare metal server through the loaded operating system.
Optionally, referring to fig. 3, the dpu has a management plane Agent, where the management plane Agent receives a management instruction sent by the bare metal management plane through a private network or a public network, and after receiving the management instruction, the management plane Agent establishes a mapping between an operating system image file and the bare metal server, so that the bare metal server can load the operating system in the operating system image file.
The bare metal management surface can be deployed in a data center or a cloud computing data center, can receive a user operation request or an operation and maintenance operation request, and can manage the life cycle of a bare metal server in the data center or in an edge scene;
the management surface Agent receives the operation request of the bare metal management surface, and carries out the hanging/unloading storage, the hanging/unloading elastic network card and the server configuration management on the bare metal server through the operation request.
Referring to fig. 4, fig. 4 is a schematic diagram of a bare metal server management system provided in an embodiment of the present application, in fig. 4, the bare metal server management system includes a DPU and a bare metal server, the bare metal server management system further includes a remote storage pool, the remote storage pool is connected to the DPU, and an operating system image file is stored in the DPU, the remote storage pool provides the DPU with the operating system image file, the DPU maps the operating system image file provided by the remote storage pool with the bare metal server, so that the bare metal server can load an operating system in the operating system image file, and because the operating system image file is provided by the remote storage pool, when a user demand changes or a new demand exists for management of the bare metal server, an updated operating system image file can be obtained in real time, and then the operating system image file is shared with the DPU, so that updating of the operating system image file is realized, the DPU does not need to be changed, and updating of the operating system loaded by the bare metal server is facilitated.
Further, providing operating system image files to the DPU via the remote storage pool may take the following two ways:
mode one: the remote storage pool stores an operating system image file OS, and the remote storage pool shares the operating system to the DPU so that the DPU can establish a mapping between the operating system image file and the bare metal server, and the bare metal server can load the operating system in the operating system image system.
Optionally, the operating system is created into an operating system image file in a remote storage pool, and then the operating system image file is set to be shared through the remote storage pool, so that the DPU can access the operating system image file, and a mapping is established between the operating system image file and the bare metal server, so that the bare metal server can load the operating system in the operating system image system, and then the operating system image file is stored in the remote storage pool, and the operating system image file is the remote disk image.
Mode two: uploading the operating system image file to a preset image management service, and obtaining the operating system image file by a remote storage pool through calling a block storage interface, and mounting the operating system image file to a DPU (digital processing Unit), so that the DPU establishes a mapping between the operating system image file and a bare metal server, and the bare metal server can load an operating system in the operating system image system.
In an alternative implementation manner, after the operating system loaded in the bare metal server manages the bare metal server according to the received management instruction, the bare metal server may further send a management response to the DPU through the data transmission channel, so as to feed back a management result of the bare metal server to the DPU. And the success rate of the management of the bare metal server is improved by feeding back the management result.
In an alternative implementation, the management instructions are used to control the operating system to collect server information of the bare metal server, and then the management response carries the bare metal server information, where the bare metal server information may include a Central Processing Unit (CPU) model, a disk type size, a memory type size, a disk array (RAID) card model, GPU/neural network processor (Neural network Processing Unit, NPU) information, and other special hardware information.
In an optional implementation manner, the management instruction is used for performing standardized configuration on the bare metal server, and if the management instruction includes standardized configuration information, the bare metal server may further send a management response to the DPU through the data transmission channel, where the management response carries a standardized configuration result.
In an alternative implementation, the management instruction is used to perform hardware personalized configuration on the bare metal server, for example, a user configures a disk array (RAID) according to personal needs, and an operating system loaded by the bare metal server performs management on the bare metal server according to the management instruction.
In an alternative implementation, the management instructions are used for controlling an operating system loaded in the bare metal server to erase the local disk of the bare metal server after the local disk in the bare metal server is unsubscribed by a user in a cloud scenario. Further, after the local disk is erased, it is also used to restore the local disk to a standardized configuration.
In an alternative implementation manner, the management instruction is further used for recovering the loaded original operating system through the management instruction when the bare metal server fails, for example, when the operating system of the bare metal server fails, unloading the image file after recovery, and restarting the bare metal server to complete the restoration of the loaded operating system.
In an alternative implementation, after the DPU receives the management response sent by the bare metal server, an uninstall instruction may also be sent to the bare metal server to implement uninstallation of the operating system loaded in the bare metal server. Further, after the operating system loaded by the bare metal server is unloaded, the bare metal server can be controlled to restart, so that the bare metal server is restored to the state before the operating system is loaded.
It is easy to understand that, in order to implement data transfer between the DPU and the bare metal server, a data transmission channel may be established between the DPU and the bare metal server, and since the DPU is inserted into the bare metal server, the data transmission channel is implemented based on PCI and the implementation includes:
the implementation mode is as follows: referring to fig. 5, fig. 5 is a schematic diagram of a bare metal server management system provided in an embodiment of the present application, where in fig. 5, the bare metal server management system includes a DPU and a bare metal server, a transmission image file is stored in the DPU, after the DPU is inserted into the bare metal server, the DPU establishes a mapping between the transmission image file and the bare metal server, the DPU can write data into the transmission image file, and the bare metal server obtains a management instruction written by the DPU by reading the transmission image file;
further, the bare metal server can write the management response into the transmission image file in the form of writing the storage disk, and the DPU can read the management response written by the bare metal server in the transmission image file, so that the transmission image file can be read.
Therefore, mapping is established between the transmission image file in the DPU and the bare metal server, the bare metal server and the DPU can read and write the transmission image file, and a data transmission channel between the DPU and the bare metal server is established through the transmission image file, so that bidirectional data interaction between the DPU and the bare metal server is realized. And transmitting a management instruction through a data transmission channel between the DPU and the bare metal server, and managing the bare metal server by an operating system loaded by the bare metal server according to the management instruction.
The second implementation mode is that; referring to fig. 6, fig. 6 is a schematic diagram of a bare metal server management system provided in an embodiment of the present application, where in fig. 6, the bare metal server management system includes a DPU and a bare metal server, the bare metal server has a direct access memory (Direct Memory Access, DMA), the DMA is a memory space provided by the memory of the bare metal server based on a DMA technology, the DPU can write management instructions into the DMA, and the bare metal server can read the management instructions in the DMA to implement sending the management instructions to the bare metal server; the bare metal server may write a management response to the DMA and the DPU may read the management response in the DMA to enable the DPU to receive the management response from the bare metal server.
Optionally, the bare metal server is provided with a DMA, the DPU is provided with a data transceiver corresponding to the DPU, and the DPU reads and writes the DMA in the bare metal server through the data transceiver, so that a management instruction can be written into the DMA in the bare metal server, and a management response written into the DMA by the bare metal server is read, so that data interaction between the DPU and the bare metal server is realized.
Therefore, the establishment of the data transmission channel between the bare metal server and the DPU is realized through the DMA in the bare metal server, and the bare metal server and the DPU realize the bidirectional interaction of data through the data transmission channel.
According to the bare metal server management method, the DPU is inserted into the bare metal server to achieve connection between the DPU and the bare metal server, mapping between an Operating System (OS) mirror image file and the bare metal server is established through the DPU, so that the bare metal server can load the Operating System, and then a management instruction is sent to the loaded Operating System through a data transmission channel between the DPU and the bare metal server, so that the loaded Operating System manages the bare metal server according to the management instruction, and the bare metal server management method is high in universality and low in management cost.
It should be understood that the foregoing is only intended to assist those skilled in the art in better understanding the embodiments of the present application and is not intended to limit the scope of the embodiments of the present application. It will be apparent to those skilled in the art from the foregoing examples that various equivalent modifications or variations may be made, for example, some of the steps of the methods described above may not be necessary, or some steps may be newly added, etc. Or a combination of any two or more of the above. Such modifications, variations, or combinations are also within the scope of embodiments of the present application.
It should also be understood that the manner, condition, class and division of the embodiments in the embodiments of the present application are for convenience of description only and should not be construed as being particularly limited, and the various manners, classes, conditions and features of the embodiments may be combined without contradiction.
It should also be understood that the various numbers referred to in the embodiments of the present application are merely descriptive convenience and are not intended to limit the scope of the embodiments of the present application. The sequence numbers of the above-mentioned processes do not mean the sequence of execution sequence, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It should also be understood that the foregoing description of embodiments of the present application focuses on highlighting differences between the various embodiments and that the same or similar elements not mentioned may be referred to each other and are not described in detail herein for brevity.
Embodiments of the methods and systems provided by embodiments of the present application are described above in connection with fig. 1-6, and DPUs provided by embodiments of the present application are described below.
The present embodiment may divide the functional modules of the DPU according to the above method. For example, each function may be divided into each functional module, or two or more functions may be integrated into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
It should be noted that, the relevant content of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The DPU provided in the embodiment of the present application is configured to execute the bare metal server management method provided in the embodiment of the method, so that the same effects as those of the implementation method can be achieved.
In other embodiments, where an integrated unit is employed, the DPU may include a processing module, a storage module, and a communication module. The processing module can be used for controlling and managing the action of the DPU. For example, may be used to support the DPU to perform the steps performed by the processing unit. Memory modules may be used to support storage of program code, data, and the like. And the communication module can be used for supporting the communication between the DPU and other devices.
Wherein the processing module may be a processor or a controller. Which may be implemented or executed with the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module may be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other DPUs.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an exemplary DPU of the present application, and the DPU shown in fig. 7 may perform steps in a bare metal server management method performed by any one of the DPUs provided in the embodiments of the present application.
The DPU700 includes at least one processor 701, memory 703, and at least one network interface 704.
The processor 701 is, for example, a general purpose CPU, digital signal processor (digital signal processor, DSP), network processor (network processer, NP), GPU, neural network processor (neural network processing units, NPU), data processing unit (data processing unit, DPU), microprocessor, or one or more integrated circuits or application specific integrated circuits (application specific integrated circuit, ASIC), programmable logic device (programmable logic device, PLD) or other programmable logic device, transistor logic device, hardware component, or any combination thereof for implementing aspects of the present application. PLDs are, for example, complex programmable logic devices (complex programmable logic device, CPLD), field programmable gate arrays (field programmable gate array, FPGA), general array logic (generic array logic, GAL), or any combination thereof. Which may implement or perform the various logical blocks, modules, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, including for example, one or more microprocessor combinations, a combination of DSPs and microprocessors, and the like.
Optionally, DPU700 also includes a bus 702. Bus 702 is used to transfer information between the components of DPU 700. Bus 702 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. Bus 702 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus.
The memory 703 is, for example, but not limited to, a Read Only Memory (ROM) or other type of storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read only memory (electrically erasable programmable read only Memory, EEPROM), a compact disc read only memory (compact disc read only memory, CD ROM) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 703 is, for example, independent and is coupled to the processor 701 via a bus 702. Memory 703 may also be integrated with processor 701.
The network interface 704 uses any transceiver-like device for communicating with other devices or communication networks, which may be ethernet, radio access network (radio access network, RAN) or wireless local area network (wireless local area network, WLAN), etc. Network interface 704 may include a wired network interface and may also include a wireless network interface. Specifically, the network interface 704 may be an Ethernet (Ethernet) interface, such as: a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, an asynchronous transfer mode (asynchronous transfer mode, ATM) interface, a WLAN interface, a cellular network interface, or a combination thereof. The ethernet interface may be an optical interface, an electrical interface, or a combination thereof. In some implementations of the present application, network interface 704 may be used to communicate DPU700 with other devices.
In particular implementations, as some implementations, the processor 701 may include one or more CPUs. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In particular implementations, DPU700 may include multiple processors, as some implementations. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In some embodiments, the memory 703 is used to store program instructions for executing aspects of the present application, and the processor 701 may execute the program instructions stored in the memory 703. That is, the DPU700 may implement the method provided by the method embodiments shown in the above embodiments by the processor 701 and the program instructions in the memory 703. One or more software modules may be included in the program instructions. Optionally, the processor 701 may itself store program instructions for performing the aspects of the present application.
In a specific implementation, the processor 701 in the DPU700 of the present application reads the instructions in the memory 703, so that the DPU700 shown in fig. 7 can perform all or part of the steps in the bare metal server management method performed by the DPU in the above embodiment.
Wherein the steps of the method described in the above embodiments are performed by instructions in the form of integrated logic circuits of hardware or software in the processor of DPU 700. The steps of an embodiment of a method disclosed in connection with the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory, and the processor reads information in the memory, and in combination with the hardware, performs the steps of the above method embodiment, which will not be described in detail herein to avoid repetition.
It should be appreciated that the processor may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processing, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
Further, in an alternative embodiment, the memory may include read only memory and random access memory, and provide instructions and data to the processor. The memory may also include non-volatile random access memory. For example, the memory may also store information of the device type.
The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic RAM (dynamic random access memory, DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
The embodiment of the application also provides a bare metal server management system, which comprises a DPU and a bare metal server connected with the DPU, wherein the DPU can execute steps in any bare metal server management method executed by the DPU.
The present embodiments provide a computer program (product), the computer program (product) comprising: computer program code, when executed by a computer, causes the computer to perform the steps of a bare metal server management method that may be performed by any one of the DPUs provided in the embodiments of the present application.
The present embodiments provide a computer readable storage medium storing a program or instructions that, when executed on a computer, perform any one of the bare metal server management methods performed by the DPU provided by the embodiments of the present application.
The embodiment of the application provides a chip, which comprises a processor and a memory, wherein the processor is used for calling and running instructions stored in the memory from the memory, so that a communication device provided with the chip executes a bare metal server management method executed by any DPU provided by the embodiment of the application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk), etc.
The terms "first," "second," and the like in this application are used to distinguish between identical or similar items that have substantially the same function and function, and it should be understood that there is no logical or chronological dependency between the "first," "second," and "nth" terms, nor is it limited to the number or order of execution. It will be further understood that, although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element.
It should also be understood that, in the embodiments of the present application, the sequence number of each process does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The term "at least one" in this application means one or more, the term "plurality" in this application means two or more, for example, a plurality of second devices means two or more second devices. The terms "system" and "network" are often used interchangeably herein.
It is to be understood that the terminology used in the description of the various examples described herein is for the purpose of describing particular examples only and is not intended to be limiting. As used in the description of the various described examples and in the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The term "and/or" is an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present application generally indicates that the front-rear association object is an or relationship.
It should also be understood that the terms "if" and "if" may be interpreted to mean "when" ("white" or "upon") or "in response to a determination" or "in response to detection. Similarly, the phrase "if determined" or "if [ a stated condition or event ] is detected" may be interpreted to mean "upon determination" or "in response to determination" or "upon detection of [ a stated condition or event ] or" in response to detection of [ a stated condition or event ] "depending on the context.
The foregoing description of the embodiments is merely illustrative of the present application and is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. The bare metal server management method is characterized by being applied to a data processor DPU connected with a bare metal server; the method comprises the following steps:
mapping the operating system image file with the bare metal server so that the bare metal server loads an operating system in the operating system image file;
and sending a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, so that an operating system loaded in the bare metal server manages the bare metal server according to the management instruction.
2. The method according to claim 1, wherein the method further comprises:
and receiving a management response corresponding to the management instruction sent by the bare metal server through the data transmission channel.
3. A method according to claim 1 or 2, characterized in that,
the operating system image file is stored in the DPU.
4. A method according to claim 1 or 2, characterized in that,
the operating system image file is stored in a remote storage pool, the remote storage pool is connected with the DPU, and the remote storage pool shares the operating system image file with the DPU.
5. The method of any one of claims 1 to 4, wherein the DPU has a transmission image file stored therein, the method further comprising:
and mapping the transmission image file with the bare metal server to establish the data transmission channel between the DPU and the bare metal server.
6. The method of any of claims 1 to 4, wherein the bare metal server has direct access DMA memory therein, the DMA memory being a memory of the bare metal server providing storage space based on DMA technology, the sending management instructions to the bare metal server over a data transfer path between the DPU and the bare metal server comprising:
and writing the management instruction into the direct access DMA memory.
7. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the DPU is connected with a remote storage pool, and the remote storage pool is used for acquiring an operating system image file by calling a storage interface and mounting the operating system image file to the DPU.
8. A bare metal server management system, comprising a bare metal server and a DPU, wherein the bare metal server is connected with the DPU; the DPU is used for establishing mapping between an operating system image file and the bare metal server so that the bare metal server loads an operating system in the operating system image file;
The DPU is also used for sending a management instruction to the bare metal server through a data transmission channel between the DPU and the bare metal server, so that an operating system loaded in the bare metal server manages the bare metal server according to the management instruction.
9. A DPU, comprising:
a memory including computer readable instructions;
a processor in communication with the memory, the processor to execute the computer readable instructions to cause the DPU to perform the bare metal server management method of any one of claims 1-7.
10. A computer readable storage medium comprising a program or instructions which when executed by a processor implements the bare metal server management method according to any of claims 1-7.
CN202311289300.1A 2023-09-27 2023-09-27 Bare metal server management method and related device Pending CN117435212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311289300.1A CN117435212A (en) 2023-09-27 2023-09-27 Bare metal server management method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311289300.1A CN117435212A (en) 2023-09-27 2023-09-27 Bare metal server management method and related device

Publications (1)

Publication Number Publication Date
CN117435212A true CN117435212A (en) 2024-01-23

Family

ID=89545307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311289300.1A Pending CN117435212A (en) 2023-09-27 2023-09-27 Bare metal server management method and related device

Country Status (1)

Country Link
CN (1) CN117435212A (en)

Similar Documents

Publication Publication Date Title
US11360696B2 (en) System startup method and apparatus, electronic device, and storage medium
CN109791471B (en) Virtualizing non-volatile storage at a peripheral device
US10866737B2 (en) Apparatus, method and system to store information for a solid state drive
CN109710317B (en) System starting method and device, electronic equipment and storage medium
US10606677B2 (en) Method of retrieving debugging data in UEFI and computer system thereof
CN112805980B (en) Techniques for mobile device management based on query-less device configuration determination
CN112214247B (en) System starting method and related equipment
US11789718B2 (en) System and method for subscription based solution modification implementation
CN104104705B (en) The cut-in method and equipment of distributed memory system
US11588909B1 (en) System and method for subscription based solution data compatibility
US20230222471A1 (en) System and method for subscription based solution implementation
US11861577B2 (en) System and method for distributed enforcement of configuration limitations
US20170242820A1 (en) Using a proprietary framework on a standards-based embedded device
US20230221997A1 (en) System and method for subscription management using composed systems
US11888690B2 (en) System and method for subscription limitation enforcement in distributed system
EP4052126A1 (en) Management of multiple physical function non-volatile memory devices
US11907153B2 (en) System and method for distributed subscription management
CN111522602A (en) Method for starting communication device
CN110888769B (en) Data processing method and computer equipment
US10970206B2 (en) Flash data compression decompression method and apparatus
US11226755B1 (en) Core dump in a storage device
CN107656702B (en) Method and system for accelerating hard disk read-write and electronic equipment
CN117435212A (en) Bare metal server management method and related device
CN111666579B (en) Computer device, access control method thereof and computer readable medium
CN111373384A (en) Server device, vehicle-mounted device, and data communication method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination