Deployment method and system of bare metal server based on data processor, computer equipment and readable storage medium

By integrating data processors in the deployment process of bare metal servers and automating the configuration of hardware resources and storage resources, the problem of inefficiency of traditional deployment methods is solved, and the rapid deployment and efficient storage of bare metal servers are achieved, and the overall performance is improved.

CN119621085APending Publication Date: 2025-03-14SHENZHEN COMTOP INFORMATION TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411777344.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The deployment method of traditional bare metal servers relies on manual configuration, resulting in long deployment time and low efficiency.

Method used

By integrating the data processor in the deployment process of bare metal servers, the data processor is used to realize the initialization of hardware resources and the configuration of storage resources, and the deployment process is automated.

Benefits of technology

It significantly shortens the deployment time of bare metal servers, improves the efficiency of hardware resource initialization, realizes the rapid deployment and efficient storage of bare metal servers, and improves the overall performance of cloud-native bare metal servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621085A_ABST
    Figure CN119621085A_ABST
Patent Text Reader

Abstract

The invention relates to a deployment method and system of a bare metal server based on a data processor, computer equipment and a readable storage medium, the method is applied to the data processor, and the method comprises the following steps: receiving configuration parameters of the bare metal server sent by a management server; the configuration parameter is obtained by the management server from a creation request of a bare metal server sent by a terminal; initializing hardware resources of the bare metal server and configuring storage resources according to the configuration parameters to obtain a configured bare metal server; and returning configuration success information to the management server. By the adoption of the method, the efficiency of the hardware resource initialization process of the bare metal server can be improved, and rapid deployment of the bare metal server is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a deployment method, system, computer device, computer-readable storage medium, and computer program product for a bare metal server based on a data processor. Background Art

[0002] With the rapid development of cloud computing, cloud native technology has become a mainstream trend, aiming to fully utilize the elasticity and agility of cloud computing. Bare metal servers have attracted much attention because they can provide performance close to that of physical machines. They are widely used in scenarios with strict performance requirements, such as high-performance computing and big data processing.

[0003] However, the deployment of traditional bare metal servers usually relies on manual configuration of the hardware and software environment, which is cumbersome and error-prone, resulting in long deployment time and low efficiency. Summary of the invention

[0004] Based on this, it is necessary to provide a data processor-based bare metal server deployment method, system, computer device, computer-readable storage medium and computer program product to address the technical problem of long deployment time and low efficiency of bare metal servers in the above-mentioned method.

[0005] In a first aspect, the present application provides a method for deploying a bare metal server based on a data processor. Applied to a data processor, the method comprises:

[0006] Receiving configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from a bare metal server creation request sent by the terminal;

[0007] Initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0008] Return configuration success information to the management server.

[0009] In one embodiment, after returning the configuration success information to the management server, the method further includes:

[0010] Receiving a data reading request sent by the management server;

[0011] According to the data read request, corresponding data is read and subsequently required data is predicted, and the subsequently required data is pre-loaded into a preset cache.

[0012] In one embodiment, the method further comprises:

[0013] Receiving a data writing request sent by the management server;

[0014] According to the data write request, the data to be written is first written into the cache, and the data written into the cache is then written into the permanent storage of the configured bare metal server.

[0015] In one embodiment, the method further comprises:

[0016] Monitoring resource usage in the configured bare metal server;

[0017] The storage resources of the configured bare metal server are dynamically adjusted according to the resource usage.

[0018] In a second aspect, the present application further provides a deployment method of a bare metal server based on a data processor, which is applied to a management server, and the method includes:

[0019] A bare metal server creation request sent by a receiving terminal; the creation request includes configuration parameters;

[0020] Passing the configuration parameters carried by the creation request to a data processor; the data processor is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0021] Receive configuration success information returned by the data processor.

[0022] In one embodiment, before passing the configuration parameters carried in the creation request to the data processor, the method further includes:

[0023] Verifying the configuration parameters to obtain verification results;

[0024] When the verification result is that the verification is passed, the configuration parameters carried in the creation request are passed to the data processor.

[0025] In a third aspect, the present application also provides a bare metal server deployment system based on a data processor. The system includes a terminal, a management server and a data processor, wherein:

[0026] The terminal is used to send a bare metal server creation request to the management server; the creation request includes configuration parameters;

[0027] The management server is used to pass the configuration parameters carried in the creation request to a data processor;

[0028] The data processor is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters, obtain the configured bare metal server, and return configuration success information to the management server.

[0029] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0030] Receiving configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from a bare metal server creation request sent by the terminal;

[0031] Initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0032] Return configuration success information to the management server.

[0033] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0034] Receiving configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from a bare metal server creation request sent by the terminal;

[0035] Initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0036] Return configuration success information to the management server.

[0037] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0038] Receiving configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from a bare metal server creation request sent by the terminal;

[0039] Initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0040] Return configuration success information to the management server.

[0041] The above-mentioned bare metal server deployment method, system, computer device, storage medium and computer program product based on the data processor receive the configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from the bare metal server creation request sent by the terminal; the hardware resources of the bare metal server are initialized and the storage resources are configured according to the configuration parameters to obtain a configured bare metal server; and the configuration success information is returned to the management server. This method integrates the data processor into the deployment process of the bare metal server, and uses the data processor to realize the initialization of hardware resources and the configuration of storage resources, thereby improving the efficiency of the hardware resource initialization process of the bare metal server, and then realizing the rapid deployment of the bare metal server and improving the overall performance of the cloud-native bare metal server. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 An application environment diagram of a deployment method of a bare metal server based on a data processor in one embodiment;

[0043] Figure 2 It is a flowchart of a method for deploying a bare metal server based on a data processor in one embodiment;

[0044] Figure 3 It is a flowchart of a method for deploying a bare metal server based on a data processor in another embodiment;

[0045] Figure 4 It is a structural block diagram of a deployment system of a bare metal server based on a data processor in one embodiment;

[0046] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] It is understandable that the deployment of traditional bare metal servers usually relies on manual configuration of the hardware and software environment, which has the following problems:

[0049] (1) The manual configuration process is complicated, time-consuming, and unable to quickly respond to business needs.

[0050] (2) In terms of storage management, traditional storage architecture is mostly used, which makes it difficult to flexibly allocate storage resources according to actual application needs, resulting in resource waste and low utilization.

[0051] (3) There is a lack of unified and efficient means to manage bare metal servers, which increases operation and maintenance costs.

[0052] Based on this, this application proposes a deployment and storage method for cloud-native bare metal services based on DPU (Data Processing Unit), which uses the characteristics of DPU and deeply integrates it into the deployment and storage management process of cloud-native bare metal services. Through DPU, fast abstraction and configuration of hardware resources, as well as unloading and optimization of storage functions, are achieved, thereby achieving fast deployment and efficient storage, and improving the overall performance and resource utilization of cloud-native bare metal services.

[0053] The deployment method of the bare metal server based on the data processor provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the management server 104 through the network, and the management server 104 communicates with the data processor 106 through the network. The data processor 106 can be integrated on the management server 104, or it can be placed on the cloud or other network servers. In the application scenario of the present application, the terminal 102 sends a bare metal server creation request to the management server 104. After receiving the creation request, the management server 104 extracts the configuration parameters from it and sends the configuration parameters to the data processor 106. The data processor 106 initializes the hardware resources of the bare metal server and configures the storage resources according to the configuration parameters, obtains the configured bare metal server, and returns the configuration success information to the management server 104. The management server 104 can send information to the user of the terminal to notify the user of the message that the bare metal server is successfully configured. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The management server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0054] In one embodiment, Figure 2 As shown, a deployment method of a bare metal server based on a data processor is provided, and the method is applied to Figure 1 The data processor 106 in FIG. 1 is taken as an example to illustrate, and the following steps are included:

[0055] Step S210, receiving the configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from the bare metal server creation request sent by the terminal.

[0056] Configuration parameters include CPU, memory, storage capacity, and network configuration (such as bandwidth requirements and IP addresses).

[0057] Among them, a bare metal server is a physical server that does not run virtualization software but directly installs an operating system, providing performance close to that of a physical machine.

[0058] Among them, the Data Processing Unit (DPU) is a processor used to offload network, storage, security and other functions to improve system performance and efficiency.

[0059] Specifically, the user submits a bare metal server creation request to the management server at the terminal. After receiving the creation request, the management server extracts configuration parameters from it and passes the configuration parameters to the data processor, so that the data processor can obtain the configuration parameters about the bare metal server.

[0060] Step S220, initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server.

[0061] Specifically, after receiving the configuration parameters sent by the management server, the data processor first abstracts the hardware resources and manages them in the form of logical resources, for example, determining the functional fields of each hardware resource. Then, initialization is performed, such as partitioning the storage device so that it can be identified and used, such as initializing the field values ​​of each functional field, etc. Further, according to the configuration parameters, corresponding storage resources are allocated to the bare metal server requested to be created, for example, the corresponding number of CPU cores and threads are allocated, memory resources such as virtual disks, etc., and network resources are configured, thereby obtaining a configured bare metal server.

[0062] Step S230, returning configuration success information to the management server.

[0063] Specifically, after completing the initialization of all hardware resources and the configuration of storage resources, the data processor can feed back the results to the management server. This feedback includes information such as the completed initialization tasks and the status of the configured resources. The management server updates the status of the user's request based on the feedback from the data processor, notifying the user that the bare metal server has been successfully created and configured, and the user can now start deploying their applications and performing data storage operations.

[0064] In the above-mentioned bare metal server deployment method based on the data processor, the configuration parameters of the bare metal server sent by the management server are received; the configuration parameters are obtained by the management server from the bare metal server creation request sent by the terminal; the hardware resources of the bare metal server are initialized and the storage resources are configured according to the configuration parameters to obtain a configured bare metal server; and the configuration success information is returned to the management server. This method integrates the data processor into the deployment process of the bare metal server and uses the data processor to realize the initialization of hardware resources and the configuration of storage resources, thereby improving the efficiency of the hardware resource initialization process of the bare metal server, thereby realizing the rapid deployment of the bare metal server and improving the overall performance of the cloud-native bare metal server.

[0065] In an exemplary embodiment, after the above step S230 returns the configuration success information to the management server, it also includes: receiving a data reading request sent by the management server; according to the data reading request, reading the corresponding data and predicting the data required subsequently, and pre-loading the data required subsequently into a preset cache.

[0066] Specifically, when performing a data reading operation on the configured bare metal server of the present application, the user sends a data reading request to the management server through the terminal, and the management server performs the data reading operation through the data processor. Specifically, the data processor can read the corresponding data according to the data reading request, and can determine the data that the user may read later from the configured bare metal server according to the data reading request and the user's access mode, and pre-load the data into a preset cache, thereby reducing the waiting time for subsequent requests to read data.

[0067] In actual applications, the historical access records of terminal users can be recorded, the time pattern of access can be identified, and the data that users may request can be predicted. Before the user actually requests the data, the predicted data is actively loaded from the storage of the configured bare metal server into the cache. Therefore, when the user actually initiates the request, the data in the cache can be directly returned to the user, thereby reducing latency.

[0068] In this embodiment, by predicting the user's future requests and pre-fetching data through a temporary storage method such as caching, the data reading delay can be reduced and the subsequent data reading speed can be improved; through the efficient collaboration of the management server and the data processor, the bare metal server can quickly respond to the user's data reading needs.

[0069] In an exemplary embodiment, the method further includes: receiving a data write request sent by a management server; and according to the data write request, first writing the data to be written into a cache, and then writing the data written into the cache into the permanent storage of the configured bare metal server.

[0070] Specifically, when performing a data write operation on the configured bare metal server of the present application, the user sends a data write request to the management server through the terminal, and the management server performs the data write operation through the data processor. Specifically, the data processor can first write the data requested by the terminal user into the cache according to the data write request, and after the write is successful, it can promptly feedback a message of the write success to the user in response to the user's write operation, and at the same time, the data in the cache can be written into the permanent storage (such as a virtual disk) of the configured bare metal server.

[0071] In actual applications, data in the cache can be written to permanent storage through asynchronous writing. For example, data in the cache can be written to permanent storage through a thread or a scheduled task without affecting the data writing operation in the cache, so as not to affect the user's response time.

[0072] In some embodiments, the data processor may also implement a compression mechanism to reduce the physical storage usage in the configured bare metal server.

[0073] In this embodiment, the written data is stored in a cache to reduce direct access to the back-end permanent storage, reduce the pressure on the permanent storage, and the fast cache write is faster than the persistent write to the permanent storage, which can improve the response speed to the user's data write request. This method uses the cache write mechanism of the data processor to enable the bare metal server to quickly respond to the user's data write needs.

[0074] In an exemplary embodiment, the method further includes: monitoring resource usage in a configured bare metal server; and dynamically adjusting storage resources of the configured bare metal server according to the resource usage.

[0075] The resource usage may include CPU usage, memory usage, storage usage, etc.

[0076] In a specific implementation, the data processor may also monitor the resource usage of the storage resources in the configured bare metal server, and adaptively and dynamically adjust the storage resources of the configured bare metal server according to the resource usage. For example, when the usage rate of the storage resources exceeds the first threshold, the storage resources may be increased accordingly; when the usage rate of the storage resources is less than the second threshold, the storage resources may be released accordingly.

[0077] It is understandable that resource usage monitoring requires setting an appropriate monitoring frequency to avoid excessive burden on the system due to too frequent monitoring.

[0078] In this embodiment, by monitoring the usage of storage resources, including read and write requests, storage occupancy, etc., the storage strategy is dynamically optimized according to the monitoring data to ensure efficient use of storage resources when the load changes.

[0079] In one embodiment, Figure 3 As shown, a deployment method of a bare metal server based on a data processor is also provided, and the method is applied to Figure 1 Taking the management server 104 in the example as an example, the following steps are included:

[0080] Step S310, receiving a bare metal server creation request sent by a terminal; the creation request includes configuration parameters;

[0081] Step S320: passing the configuration parameters carried in the creation request to the data processor; the data processor is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server;

[0082] Step S330: receiving configuration success information returned by the data processor.

[0083] Specifically, the user submits a bare metal server creation request to the management server at the terminal. After receiving the creation request, the management server extracts the configuration parameters from it and passes the configuration parameters to the data processor. After receiving the configuration parameters sent by the management server, the data processor first abstracts the hardware resources and manages them in the form of logical resources, for example, determining the functional fields of each hardware resource. Then it performs initialization, such as partitioning the storage device so that it can be identified and used, such as initializing the field values ​​of each functional field, etc. Further, according to the configuration parameters, the corresponding storage resources are allocated to the bare metal server requested to be created, for example, the corresponding number of CPU cores and threads are allocated, memory resources such as virtual disks, etc., and network resources are configured, thereby obtaining a configured bare metal server. After completing the initialization of all hardware resources and the configuration of storage resources, the data processor can feedback the results to the management server. This feedback includes information such as the completed initialization tasks and the configured resource status. The management server updates the status of the user's request based on the feedback from the data processor, notifying the user that the bare metal server has been successfully created and configured, and the user can now start deploying its application.

[0084] In the deployment method of a bare metal server based on a data processor provided in this embodiment, after the management server receives the bare metal server creation request sent by the terminal, it passes the configuration parameters carried in the creation request to the data processor, and the data processor initializes the hardware resources and configures the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server, and receives the configuration success information returned by the data processor. This method integrates the data processor into the deployment process of the bare metal server, and uses the data processor to implement the initialization of hardware resources and the configuration of storage resources, thereby improving the efficiency of the hardware resource initialization process of the bare metal server, thereby realizing the rapid deployment of the bare metal server and improving the overall performance of the cloud-native bare metal server.

[0085] In an exemplary embodiment, before passing the configuration parameters carried in the creation request to the data processor in the above step S320, it also includes: verifying the configuration parameters to obtain a verification result; if the verification result is that the verification is passed, passing the configuration parameters carried in the creation request to the data processor.

[0086] In the specific implementation, after the management server receives the bare metal server creation request sent by the terminal, it first verifies the legitimacy of the configuration parameters in the creation request. Specifically, it verifies whether the CPU, memory, and storage configuration in the configuration parameters meet the preset conditions and whether there are sufficient resources to meet the creation request. When the verification is passed, the management server forwards the valid configuration parameters in the creation request to the data processor (DPU) to start the initialization process of the bare metal server's hardware resources and the configuration of storage resources.

[0087] In this embodiment, invalid or malicious creation requests can be filtered out through the configuration parameter verification mechanism to ensure security, and by verifying the configuration parameters, it is ensured that only valid and reasonable resource configuration solutions are used to avoid server crashes or performance degradation due to incorrect configuration.

[0088] In an exemplary embodiment, the user request also includes a deletion request, a query request, etc. After the management server receives the request sent by the terminal, it can perform corresponding processing according to the request type. If the request is a deletion request, the corresponding deletion operation is performed, wherein the deletion request can be a request to delete a part of the bare metal server, or a request to delete the bare metal server. For example, if the deletion request carries a virtual disk to be deleted, the corresponding virtual disk is deleted accordingly according to the deletion request. If the request is a query request, the corresponding processing can be performed according to the query content of the query request. For example, if the query request is to query the resource usage of the bare metal server, the request can be sent to the data processor, and the data processor detects the resource usage, receives the detection result returned by the data processor, and returns it to the terminal. For example, if the query request is to query data, the corresponding data is obtained from the bare metal server through the data processor and returned to the terminal.

[0089] It should be noted that different data processor (DPU) products can be selected according to different performance and requirements, and this application does not impose any specific restrictions on this.

[0090] The deployment and storage method of the DPU-based bare metal service provided in this application can achieve the following beneficial effects:

[0091] (1) Rapid deployment: Significantly shorten the deployment time of bare metal servers from traditional hours or even days to minutes, meeting rapidly changing business needs.

[0092] (2) Efficient storage: Improve storage resource utilization, reduce storage waste, and improve storage performance such as read and write speed, I / O bandwidth, etc. through the optimization function of DPU.

[0093] (3) Simplified management: Provide a unified management interface and process to reduce operation and maintenance costs and management complexity.

[0094] The method provided in this application can be applied to high-performance computing scenarios and big data processing scenarios. In high-performance computing scenarios: scientific research institutions conduct large-scale scientific computing and need to quickly deploy computing nodes. This solution can quickly provide high-performance bare metal servers, and DPU optimizes storage reading and writing to accelerate the computing process. In big data processing scenarios: enterprises process massive amounts of data, this solution can quickly deploy storage and computing resources, and DPU improves storage efficiency to meet the requirements of big data processing for storage bandwidth and I / O performance.

[0095] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0096] Based on the same inventive concept, the embodiment of the present application also provides a deployment system for bare metal servers based on data processors for implementing the deployment method for bare metal servers based on data processors involved above. The implementation solution for solving the problem provided by the system is similar to the implementation solution recorded in the above method, so the specific limitations in the one or more deployment system embodiments for bare metal servers based on data processors provided below can refer to the limitations of the deployment method for bare metal servers based on data processors above, and will not be repeated here.

[0097] In one embodiment, Figure 4 As shown, a deployment system of a bare metal server based on a data processor is provided, including: a terminal 410, a management server 420 and a data processor 430, wherein:

[0098] Terminal 410 is used to send a bare metal server creation request to the management server; the creation request includes configuration parameters;

[0099] The management server 420 is used to pass the configuration parameters carried in the creation request to the data processor;

[0100] The data processor 430 is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters, obtain the configured bare metal server, and return the configuration success information to the management server.

[0101] In one embodiment, the data processor 430 is further used to receive a data read request sent by the management server; according to the data read request, read the corresponding data and predict the data required subsequently, and pre-load the data required subsequently into a preset cache.

[0102] In one embodiment, the data processor 430 is also used to receive a data write request sent by the management server; according to the data write request, the data to be written is first written into the cache, and the data written into the cache is then written into the permanent storage of the configured bare metal server.

[0103] In one embodiment, the data processor 430 is further used to monitor resource usage in the configured bare metal server; and dynamically adjust the storage resources of the configured bare metal server according to the resource usage.

[0104] In one embodiment, the management server 420 is further used to verify the configuration parameters and obtain a verification result; when the verification result is that the verification is passed, the configuration parameters carried in the creation request are passed to the data processor.

[0105] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data in the deployment process of a bare metal server based on a data processor. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a deployment method of a bare metal server based on a data processor is implemented.

[0106] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0107] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0108] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0109] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0113] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for deploying a bare metal server based on a data processor, characterized in that: Applied to a data processor, the method comprises: Receiving configuration parameters of the bare metal server sent by the management server; the configuration parameters are obtained by the management server from a bare metal server creation request sent by the terminal; Initializing the hardware resources and configuring the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server; Return configuration success information to the management server.

2. The method according to claim 1, characterized in that After returning the configuration success information to the management server, the method further includes: Receiving a data reading request sent by the management server; According to the data read request, corresponding data is read and subsequently required data is predicted, and the subsequently required data is pre-loaded into a preset cache.

3. The method according to claim 2, characterized in that The method further comprises: Receiving a data writing request sent by the management server; According to the data write request, the data to be written is first written into the cache, and the data written into the cache is then written into the permanent storage of the configured bare metal server.

4. The method according to claim 1, characterized in that The method further comprises: Monitoring resource usage in the configured bare metal server; The storage resources of the configured bare metal server are dynamically adjusted according to the resource usage.

5. A method for deploying a bare metal server based on a data processor, characterized in that: Applied to a management server, the method comprises: A bare metal server creation request sent by a receiving terminal; the creation request includes configuration parameters; Passing the configuration parameters carried by the creation request to a data processor; the data processor is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters to obtain a configured bare metal server; Receive configuration success information returned by the data processor.

6. The method according to claim 5, characterized in that Before passing the configuration parameters carried in the creation request to the data processor, the method further includes: Verifying the configuration parameters to obtain verification results; When the verification result is that the verification is passed, the configuration parameters carried in the creation request are passed to the data processor.

7. A bare metal server deployment system based on a data processor, characterized in that: The system comprises: a terminal, a management server and a data processor, wherein: The terminal is used to send a bare metal server creation request to the management server; the creation request includes configuration parameters; The management server is used to pass the configuration parameters carried in the creation request to a data processor; The data processor is used to initialize the hardware resources and configure the storage resources of the bare metal server according to the configuration parameters, obtain the configured bare metal server, and return configuration success information to the management server.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for deploying a bare metal server based on a data processor according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for deploying a bare metal server based on a data processor according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for deploying a bare metal server based on a data processor described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and device for deploying database in cloud computing management platform

    CN107547250A

  • Automatic management method and device for bare metal server and medium

    CN111782283A

  • Method and system for configuring BMC IP addresses of bare metal servers, medium and device

    US20240007347A1

  • Bare metal deployment method and apparatus based on three-layer network, and device and medium

    WO2024217061A1