A remote backup and restoration method and system for firmware
Through remote backup and restoration methods and systems, historical usage information and loss probability prediction models are used to achieve remote unified management and maintenance of blade servers, solving manual installation, backup and recovery problems caused by different CPU platforms and operating system versions. Improved management efficiency and stability.
Patent Information
- Application Number
- CN202411068475.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-06
AI Technical Summary
In the existing technology, due to the incompatibility of different CPU platforms and operating system versions of blade servers, system users must manually install, back up, and restore the operating system, which increases the complexity of management and maintenance and the risk of errors, especially in large-scale servers. The environment is inefficient and error-prone.
Provide a method and system for remote backup and restoration of firmware. By recording and analyzing the historical usage information of the blade operating system, training the missing probability prediction model, obtaining the operating system deployment position, and issuing remote backup and restoration instructions based on the BMC, the remote unified management can be realized. and maintenance.
It improves system management efficiency, reduces operating errors, ensures data security and system stability, and achieves automation and efficiency in deployment, backup, and restoration of blade server operating systems.
Smart Images

Figure CN118585382B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of backup and restoration, and in particular to a method and system for remote backup and restoration of firmware. Background Art
[0002] Blade servers are widely used due to their high density, high performance and modular design. Blade servers can provide efficient computing power and flexible scalability by sharing power and network resources. However, as the scale and complexity of systems increase, how to effectively manage and maintain these servers, especially in the deployment, backup and restoration of operating systems, has become an important challenge.
[0003] At present, in the prior art, in a blade server, different blades usually use different CPU platforms and operating system versions. A specific version of the blade operating system can usually only adapt to a specific processor model and is not compatible with all CPUs, so system users must manually install, back up, and restore the operating system of each blade locally. As a result, manual operation is not only time-consuming and labor-intensive, but also prone to errors, resulting in a significant increase in the complexity of management and maintenance. In particular, in a large-scale server environment, manual installation, backup, and recovery of the operating system is not only inefficient, but also prone to system failures or data loss due to operational errors.
[0004] In summary, the prior art has a technical problem that different blades use different CPU platforms and operating system versions, which requires system users to manually install, back up and restore the operating system of each blade locally, further affecting the efficiency and accuracy of system management and maintenance. Summary of the invention
[0005] The purpose of this application is to provide a remote backup and restoration method and system for firmware, so as to solve the technical problem in the prior art that different blades use different CPU platforms and operating system versions, resulting in system users having to manually install, back up and restore the operating system of each blade locally, further affecting the efficiency and accuracy of system management and maintenance.
[0006] In view of the above problems, the present application provides a remote backup and restore method and system for firmware.
[0007] In the first aspect, the present application provides a remote backup and restore method for firmware, which is implemented through a remote backup and restore system for firmware, including: recording historical usage information of a blade operating system of the firmware according to a remote client, wherein the firmware is a blade server; obtaining a blade operating system set of the remote client; training a missing probability prediction model on the remote client according to the historical usage information, performing missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and outputting a missing probability set; obtaining the operating system deployment position of the blade server terminal; analyzing the missing probability set based on the operating system deployment position as a constraint condition, and obtaining N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; and sending backup and restore instructions to the BMC that manages the blades in the blade server based on the N blade operating systems for remote backup and restore.
[0008] In a second aspect, the present application also provides a remote backup and restore system for firmware, which is used to execute a remote backup and restore method for firmware as described in the first aspect, including: a historical usage information recording module, which is used to record the historical usage information of the blade operating system of the firmware according to the remote client, wherein the firmware is a blade server; a blade operating system set acquisition module, which is used to acquire the blade operating system set of the remote client; a missing probability set output module, which is used to train a missing probability prediction model on the remote client according to the historical usage information, and to train the blade operating system according to the missing probability prediction model. Perform missing probability analysis on each blade operating system in the system set and output a missing probability set; an operating system deployment position acquisition module, the operating system deployment position acquisition module is used to acquire the operating system deployment position of the blade server terminal; a blade operating system acquisition module, the blade operating system acquisition module is used to analyze the missing probability set based on the operating system deployment position as a constraint condition, and acquire N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; a remote backup and restore module, the remote backup and restore module is used to send backup and restore instructions to the BMC that manages the blades in the blade server based on the N blade operating systems to perform remote backup and restore.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] According to the remote client, record the historical usage information of the blade operating system of the firmware, wherein the firmware is a blade server; obtain the blade operating system set of the remote client; train a missing probability prediction model at the remote client according to the historical usage information, perform missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and output a missing probability set; obtain the operating system deployment position of the blade server terminal; based on the operating system deployment position as a constraint condition, analyze the missing probability set to obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; based on the N blade operating systems, send backup and restore instructions to the BMC that manages the blades in the blade server to perform remote backup and restore, thereby achieving the technical goal of remote unified management and maintenance of the operating system deployment, backup and restore of the blade server, and achieving the technical effect of improving system management efficiency, reducing operational errors, and ensuring data security and system stability.
[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0013] Figure 1 A flowchart of a remote backup and restore method of firmware for this application;
[0014] Figure 2 This is a schematic diagram of the structure of a remote backup and restore system for firmware in the present application.
[0015] Description of reference numerals:
[0016] Historical usage information recording module 11, blade operating system set acquisition module 12, missing probability set output module 13, operating system deployment location acquisition module 14, blade operating system acquisition module 15, remote backup and restore module 16 DETAILED DESCRIPTION
[0017] This application provides a remote backup and restore method and system for firmware, which solves the technical problem in the prior art that different blades use different CPU platforms and operating system versions, causing system users to manually install, back up and restore the operating system of each blade locally, further affecting the efficiency and accuracy of system management and maintenance. The technical goal of remote unified management and maintenance of blade server operating system deployment, backup and restore is achieved, achieving the technical effect of improving system management efficiency, reducing operational errors, and ensuring data security and system stability.
[0018] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.
[0019] For example, please refer to the attached Figure 1 The present application provides a remote backup and restore method of firmware, which is applied to a remote backup and restore system of firmware, and specifically includes:
[0020] Step 1: According to the remote client, record the historical usage information of the blade operating system of the firmware, wherein the firmware is a blade server.
[0021] Specifically, the historical usage information of the blade operating system of the firmware is recorded by remote connection based on the remote client, that is, all historical operation data of the blade server operating system is recorded and stored. Therefore, whether it is a system update, configuration change, or fault repair, the historical usage information can be queried and traced back at any time, which is helpful for the rapid location and resolution of problems, and improves the reliability of the system and the convenience of maintenance. Among them, the firmware is a blade server, which means that the hardware device targeted by the backup and restore operations is the blade server. The blade server has the characteristics of high density, high performance and scalability, and is suitable for data center and enterprise-level applications. Through the remote backup and restore method, it can effectively manage and maintain large-scale blade server clusters. By backing up and restoring the firmware, the historical usage information of the blade operating system is recorded, thereby improving the system maintenance efficiency and data security, helping to optimize the management of the data center and ensure the stable operation of the system.
[0022] Step 2: Obtain the blade operating system set of the remote client.
[0023] Specifically, the remote client accesses all target blade servers through a network connection, uses management tools or protocols to extract the operating system information of each server, and then collects and organizes the operating system information of all connected blade servers through the remote client, including identifying the specific operating system version and configuration running on each blade server, which includes not only the type and version of the operating system, but also detailed data such as patch level, configuration parameters, and installed software packages, to ensure that all relevant information is accurately recorded and stored. Through the operating system information of all connected blade servers, the blade operating system collection is obtained, and then the operating system status of the entire server group is mastered, thereby providing basic data support for subsequent backup and restore operations.
[0024] Step three: training a missing probability prediction model on the remote client according to the historical usage information, performing missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and outputting a missing probability set.
[0025] Specifically, training the missing probability prediction model on the remote client according to the historical usage information means using the historical usage data of the blade operating system collected by the remote client to train the missing probability prediction model. For example, the historical usage information includes detailed information such as the entry and exit time, the stay time and the usage frequency of each blade operating system. By analyzing the historical usage information, the pattern of data loss or system abnormality is identified. The training process uses a machine learning algorithm to continuously adjust the parameters and structure of the model through the input of a large amount of historical usage information to improve the accuracy and reliability of the prediction. According to the missing probability prediction model, the missing probability of each blade operating system in the blade operating system set is analyzed, that is, the trained prediction model is applied to the actual blade operating system set. The missing probability prediction model is used to calculate the probability of data loss of each blade operating system according to the current usage and historical data of each blade operating system. The missing probability prediction model is used to process the real-time data of each blade operating system, and the result is compared with the pattern and characteristics in the missing probability prediction model to obtain the missing probability.
[0026] Step 4: Obtain the operating system deployment location of the blade server terminal.
[0027] Specifically, obtaining the operating system deployment position of the blade server terminal refers to identifying and determining the position or slot in the blade server that can be used to deploy the blade operating system. The operating system deployment position refers to the physical space and resource position available in the blade server that can support the installation and operation of the blade operating system. Obtaining the number and position of the operating system deployment position helps to perform the subsequent allocation and resource management of the blade operating system.
[0028] Step 5: Based on the operating system deployment position as a constraint condition, the missing probability set is analyzed to obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions.
[0029] Specifically, according to the operating system deployment position as a constraint condition, the missing probability set is analyzed to obtain N blade operating systems that meet the operating system deployment position, where N is the number of operating system deployment positions. Among them, at least one N blade operating system with the highest missing probability is included, so N is an integer greater than or equal to 1. The blade operating systems in the missing probability set are sorted from high to low according to the missing probability, and are screened from high to low according to the number of available operating system deployment positions N, and the N blade operating systems with the highest missing probability are selected, thereby ensuring that in the case of limited resources, the operating system that is most likely to have problems is processed first to prevent potential failures and data loss.
[0030] Step 6: Based on the N blade operating systems, a backup and restore instruction is sent to the BMC of the blade management server to perform remote backup and restore.
[0031] Specifically, BMC is an independent microcontroller used to manage and monitor server hardware, and can achieve remote management of the server through a network interface. Sending backup and restore instructions to the BMC can automate the backup and restore process of the operating system, ensuring that normal operation can be quickly restored when a problem occurs in the system. Furthermore, the currently available deployment space is determined through the operating system deployment bit, and then the N blade operating systems that need the most attention are selected for backup and restoration based on the missing probability set. Next, the backup and restore instructions are sent to the N blade operating systems through the BMC, that is, the baseboard management controller, to start the remote backup and restore operation, including backing up the current blade operating system status and data to remote storage, and restoring through BMC instructions when necessary, to ensure that the blade operating system can return to normal in the shortest time.
[0032] The remote backup and restoration method of firmware is applied to a remote backup and restoration system of firmware, which can achieve the technical goal of remote unified management and maintenance of operating system deployment, backup and restoration of blade servers, and achieve the technical effect of improving system management efficiency, reducing operational errors, and ensuring data security and system stability.
[0033] Furthermore, the present application also includes:
[0034] The historical usage information is analyzed, including the entry and exit time of the blade operating system, the residence time of the blade operating system, and the usage frequency of the blade operating system; training is performed based on the entry and exit time of the blade operating system, the residence time of the blade operating system, the usage frequency of the blade operating system, and the identification information of the missing probability to obtain the missing probability prediction model.
[0035] Specifically, the historical usage information is analyzed, including the entry and exit time of the blade operating system, the residence time of the blade operating system, and the usage frequency of the blade operating system, which means that the usage of each blade operating system is recorded in detail. The entry and exit time refers to the specific time point when the blade operating system is started and shut down, the residence time is the continuous running time of the blade operating system after each startup, and the usage frequency records the number of times and frequency that the blade operating system is used. By analyzing the historical usage information, the usage pattern and regularity of the blade operating system are obtained, which helps to predict potential problems and optimize system performance.
[0036] Next, training is performed based on the entry and exit time of the blade operating system, the residence time of the blade operating system, the frequency of use of the blade operating system, and the identification information that identifies the missing probability to obtain a missing probability prediction model. The training process of the missing probability prediction model uses a machine learning algorithm to learn and identify patterns and features of data loss or anomalies. During the training process, the missing probability prediction model continuously adjusts the parameters and structure of the model to improve the accuracy and reliability of the prediction. The resulting missing probability prediction model can be used to monitor and predict potential failures or data loss risks of the blade operating system in real time. The identification information that identifies the missing probability refers to the relevant parameters that identify and quantify operating system data loss or anomalies. By combining these parameters with historical usage data, the system can train a prediction model.
[0037] By using the missing probability prediction model, preventive measures can be taken before problems occur, thereby reducing the risk of data loss or system downtime. The missing probability prediction model can also help optimize the configuration and scheduling of system resources and improve the overall system operation efficiency and reliability.
[0038] Furthermore, the present application also includes:
[0039] Perform resource capacity analysis on the blade server terminal, including CPU usage, memory usage and storage space, and output deployment resource capacity; calculate resource consumption indicators for deploying the blade operating system; and configure the operating system deployment position according to the deployment resource capacity and the resource consumption indicators.
[0040] Specifically, the resource capacity analysis of blade server terminals is to monitor and evaluate the key resources of each blade server in detail, including CPU usage, memory usage and storage space. CPU usage indicates the workload of the CPU processor, memory usage reflects the memory usage of the blade server, and storage space refers to the available and used capacity of the storage device. By analyzing multiple indicators in the resource capacity analysis, we can fully understand the current operating status and resource utilization of each blade server, providing data support for subsequent resource configuration and optimization.
[0041] Then, outputting the deployment resource capacity means summarizing the results of the resource capacity analysis and outputting them in an easy-to-understand form, including the CPU, memory, and storage space usage of each blade server, so as to quickly determine which blade servers have remaining resources for deploying new operating systems or applications and which blade servers may need resource expansion or optimization.
[0042] Next, calculating the resource consumption index of the blade operating system deployment means estimating the consumption of blade server resources by the blade operating system before actually deploying the new blade operating system. Resource consumption indicators include resources such as CPU, memory, and storage space required by the blade operating system during operation. Detailed calculation and analysis are performed based on the configuration and functional characteristics of the blade operating system to ensure that the required resources are accurately estimated, thereby avoiding insufficient or wasted resources during the deployment process.
[0043] Next, according to the deployment resource capacity and resource consumption indicators, the actual deployment operation is carried out, the available resource capacity of each blade server is compared with the resource requirements of the new operating system, the operating system deployment position is configured, and the most suitable blade server is selected for deployment. Then, the server resources are reasonably allocated and adjusted according to the resource consumption indicators to ensure that the new operating system can run stably and will not affect other deployed systems.
[0044] By analyzing the resource capacity of blade server terminals, calculating deployment resource consumption indicators, and configuring operating system deployment positions based on deployment resource consumption indicators, it is possible to achieve rational utilization and optimal configuration of resources, which not only improves the overall performance and efficiency of blade servers, but also ensures the smooth deployment and stable operation of new operating systems, thereby improving the management and maintenance level of the entire system.
[0045] Furthermore, the present application also includes:
[0046] Acquiring N blade operating systems corresponding to the operating system deployment position includes selecting N blade operating systems with the highest missing probabilities according to a missing probability set.
[0047] Specifically, the usage data of all current blade operating systems is analyzed through the missing probability prediction model to obtain the probability of data loss or abnormality in all blade operating systems and generate a missing probability set. The missing probability set is sorted from high to low according to the missing probability, reflecting the probability of data loss or abnormality in each blade operating system. Blade operating systems with high missing probabilities have a greater risk of problems in the near future and need to be maintained and processed first. Otherwise, the risk is lower.
[0048] Next, according to the requirements of the operating system deployment position, select the N blade operating systems with the highest missing probability from the missing probability set. According to the current resource capacity analysis and resource consumption indicators, ensure that the selected N blade operating systems can be smoothly deployed and adjusted if resources allow. Then, the most urgent problems can be solved first under limited resources, maximizing the stability and reliability of the system.
[0049] Finally, the N blade operating systems obtained will be used as the target of blade operating system deployment, and actual operations will be performed by configuring the deployment position, including adjusting and optimizing the resources of the N blade operating systems, to ensure that the N blade operating systems can run stably in the new environment and reduce the risk of failure and data loss. Among them, at least one N blade operating system with the highest probability of missing is included, so N is an integer greater than or equal to 1.
[0050] By obtaining N blade operating systems corresponding to the operating system deployment positions and selecting the N blade operating systems with the highest probability of missing, the system's maintenance efficiency and prevention capabilities can be effectively improved, ensuring that when resources are limited, the blade operating systems that need the most attention are given priority, thereby ensuring the system's stable operation and data security to the greatest extent, and thus being able to more efficiently manage and maintain blade servers, ensuring efficient and stable operation.
[0051] Furthermore, the present application also includes:
[0052] Obtain a resource quantity set corresponding to the blade operating system set; match the N resource quantities corresponding to the N blade operating systems according to the resource quantity set; determine whether the sum of the N resource quantities meets the deployment resource capacity, and if not, update the N blade operating systems in sequence.
[0053] Specifically, obtaining the resource volume set corresponding to the blade operating system set means to count and organize the resource volume currently used by all blade operating systems, including detailed data such as CPU usage, memory usage, and storage space of each operating system. Through the resource volume set, the resource usage of all blade operating systems can be fully understood, providing basic data support for subsequent resource matching and adjustment.
[0054] Next, the N resource quantities corresponding to the N blade operating systems are matched according to the resource quantity set, which means that by matching the data in the resource quantity set with the selected N blade operating systems, the N blade operating systems are matched one-to-one with the corresponding resource usage, ensuring that the resource usage of each operating system is accurately recorded and managed, providing an accurate data basis for the next step of resource capacity evaluation.
[0055] Then, before actually allocating and deploying resources, the total resource usage of the selected N blade operating systems is evaluated. If the sum of the resources of the N blade operating systems exceeds the currently available deployment resource capacity, adjustments are required. The adjustment process includes reselecting blade operating systems with relatively low missing probabilities to ensure that the new selection can complete deployment within the resource capacity. Among them, the selection order is the order of the blade operating systems after sorting the missing probabilities from high to low. The sequential update mechanism ensures the rational use of system resources while avoiding deployment failures or system instability due to insufficient resources. Through continuous adjustment and optimization, the N blade operating systems that best suit the current deployment conditions are finally selected to ensure that the N blade operating systems can run stably in the new environment and will not affect other blade operating systems.
[0056] By obtaining the resource volume set corresponding to the blade operating system set, matching the resource volume corresponding to N blade operating systems, and judging whether the sum of the N blade operating systems meets the deployment resource capacity, and then updating the sequence, it is possible to effectively optimize resource configuration and deployment, ensuring that the system can give priority to the most important and most concerned operating systems when resources are limited, thereby improving the stability and reliability of the overall system. Through precise resource management and deployment methods, blade servers can be maintained and optimized more efficiently, ensuring efficient and stable operation of blade servers.
[0057] Furthermore, the present application also includes:
[0058] The remote client stores an operating system image corresponding to the blade operating system set, which provides operating system deployment, backup and restore capabilities for each business blade; wherein each business blade is provided with an ID code, and the ID code is synchronously mapped to the blade operating system set for management.
[0059] Specifically, the remote client saves the image files of all blade operating systems, namely the operating system image. The operating system image is a complete copy of the blade operating system, including all system files, configurations, and installed software. By storing the operating system image, the remote client can quickly deploy a new blade operating system, as well as perform system recovery and backup operations when necessary, improving the efficiency and flexibility of system management and ensuring that the system can be quickly restored to normal operation in the event of a failure.
[0060] Next, the operating system image provides operating system deployment, backup and restore capabilities for each business blade, indicating that the operating system image is not only used for initial deployment of the operating system, but also for subsequent maintenance and management. The operating system image can be used to quickly install the operating system on a new blade server to ensure that all system configurations are consistent. At the same time, when a problem occurs in a blade operating system, the image can be used to restore the system to the previous normal state. The backup and restore capabilities ensure business continuity and system stability.
[0061] Among them, a business blade refers to a blade server that is set to perform specific business tasks. Each independent blade server is responsible for processing and running specific business applications or tasks. Each business blade is set with an ID code, and the ID code is synchronously mapped to the blade operating system set for management, which means that each blade server has a unique ID code, and the ID code corresponds one-to-one with the record in the blade operating system set. In this way, each blade server can be accurately managed and tracked. The ID code ensures that the system can accurately identify each blade server and correspond to the specific operating system image of the blade server, thereby achieving efficient deployment, backup and restore operations.
[0062] The ID codes set for each business blade are synchronously mapped to the blade operating system set for management, ensuring the unique identification and precise management of each blade server. Through precise identification and management mechanisms, the stability and reliability of the system are improved, ensuring efficient deployment, backup and restoration of the operating system, and optimizing the management and maintenance of the entire blade server system.
[0063] Furthermore, the present application also includes:
[0064] The backup and restore instructions include backup instructions and restore instructions, wherein the backup instructions are used to save the current state of the blade operating system of the firmware, and the restore instructions are used to restore the state of the blade operating system previously backed up by the firmware.
[0065] Specifically, the backup and restore instructions include backup instructions and restore instructions. The backup instructions are used to save the status of the current blade operating system of the firmware, which means that when performing the backup operation, all key data of the current blade operating system will be recorded and stored in detail, including the configuration files, user data, system logs and all running process status of the blade operating system, to ensure that when the system fails or requires maintenance, it can be quickly restored to the working state at the time of backup, reducing downtime and the risk of business interruption. The restore instruction is used to restore the status of the blade operating system previously backed up by the firmware. The restore operation reads the backup record and reapplies all the data and configuration of the backup record to the blade operating system, ensuring that the restored system is completely consistent with the backup. The restore process can not only be used for fault recovery, but also to restore the system to a stable state when problems occur after system updates or configuration changes.
[0066] Through the backup and restore mechanism, the blade operating system can achieve efficient maintenance and management, ensuring that the system can be quickly restored when problems occur, thereby ensuring business continuity and stable system operation.
[0067] Furthermore, the present application also includes:
[0068] The BMC communicates with the BIOS via the LPC on the hardware link, the BIOS and the BMC communicate with each other, and the boot media selection is achieved via the IPMI protocol.
[0069] Specifically, the baseboard management controller (BMC) establishes a hardware-level connection with the basic input and output system (BIOS) through the low pin count (LPC) interface. The LPC interface is a common interface standard for low-speed devices, usually used for low-bandwidth communication devices on the motherboard. Through the LPC interface, the BMC can communicate directly with the BIOS, control the system's boot process, and achieve low-level control and monitoring of the system.
[0070] Next, BIOS and BMC are interoperable, indicating that the communication between the two is bidirectional. BIOS can not only receive commands and status information from BMC, but also pass system status and configuration information to BMC. Interoperability ensures that BMC can monitor and control the status of hardware in real time during system startup and operation, providing higher management flexibility and accuracy.
[0071] Next, the boot media selection is implemented through the IPMI protocol, which means that the system uses the Intelligent Platform Management Interface (IPMI) protocol to control and select the boot media. IPMI is a standard protocol for monitoring, managing, and recovering servers, allowing the server's boot process to be remotely controlled through the BMC. Through the IPMI protocol, the system's boot media, such as hard disk, CD, or network boot, can be selected remotely, thereby improving the flexibility and convenience of system management.
[0072] Communication between LPC and BIOS, intercommunication between BIOS and BMC, and boot media selection through IPMI protocol improve the management and control capabilities of the system, ensure that the system has higher flexibility and reliability during startup and operation, and can meet various complex management needs.
[0073] Furthermore, the present application also includes:
[0074] The BMC controls the BIOS to start the operating systems of different partitions by defining two OEM commands, including a command for obtaining a startup sequence and a command for setting a startup sequence.
[0075] Specifically, the baseboard management controller (BMC) manages and controls the system's boot process through specific original equipment manufacturer (OEM) commands to boot the operating system from different partitions. The Get Boot Order command means that the BMC can send a command to the BIOS to request the current boot order. The order command enables the BMC to understand the current boot configuration of the system, including the priority of each boot device or partition. By using the Get Boot Order command, the current system's boot configuration can be viewed and monitored remotely to ensure that the system boots in the expected order. This is very important in system maintenance and management, especially when remote diagnosis and troubleshooting are required, and understanding the boot order can help quickly locate the problem.
[0076] The boot order setting command means that the BMC can send commands to the BIOS to modify the system boot order, allowing the system administrator to remotely change the system boot configuration, such as adjusting the priority of each boot device or partition, and specifying the system to boot the operating system from a specific partition. By setting the boot order command, the system boot process can be controlled to meet different business needs or maintenance requirements.
[0077] For example, when you need to install a new operating system remotely, you can use the boot order command to adjust the boot media priority to CD or network boot so that the installation program can be started from the corresponding media. After the installation is completed, the boot order can be restored to the normal hard disk boot. This makes system maintenance and management more convenient and faster, and improves management efficiency and response speed.
[0078] By defining the command to obtain the boot sequence and the command to set the boot sequence, the control of the operating system of different partitions started by BIOS is realized, so that the boot sequence of the system can be remotely obtained and modified, thereby flexibly managing the system's boot process and ensuring that the system can boot according to the expected configuration.
[0079] In summary, the remote backup and restore method of firmware provided by this application has the following technical effects:
[0080] According to the remote client, record the historical usage information of the blade operating system of the firmware, wherein the firmware is a blade server; obtain the blade operating system set of the remote client; train a missing probability prediction model at the remote client according to the historical usage information, perform missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and output a missing probability set; obtain the operating system deployment position of the blade server terminal; based on the operating system deployment position as a constraint condition, analyze the missing probability set to obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; based on the N blade operating systems, send backup and restore instructions to the BMC that manages the blades in the blade server to perform remote backup and restore, thereby achieving the technical goal of remote unified management and maintenance of the operating system deployment, backup and restore of the blade server, and achieving the technical effect of improving system management efficiency, reducing operational errors, and ensuring data security and system stability.
[0081] Embodiment 2: Based on the remote backup and restore method of firmware in the above embodiment, the present application also provides a remote backup and restore system for firmware, see the attached Figure 2 ,include:
[0082] A historical usage information recording module 11, the historical usage information recording module 11 is used to record the historical usage information of the blade operating system of the firmware according to the remote client, wherein the firmware is a blade server; a blade operating system set acquisition module 12, the blade operating system set acquisition module 12 is used to obtain the blade operating system set of the remote client; a missing probability set output module 13, the missing probability set output module 13 is used to train a missing probability prediction model on the remote client according to the historical usage information, perform missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and output a missing probability set; an operating system deployment position acquisition module 14, the operating system deployment position acquisition module 14 is used to obtain the operating system deployment position of the blade server terminal; a blade operating system acquisition module 15, the blade operating system acquisition module 15 is used to analyze the missing probability set based on the operating system deployment position as a constraint condition, and obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; a remote backup and restore module 16, the remote backup and restore module 16 is used to issue backup and restore instructions to the BMC managing the blades in the blade server based on the N blade operating systems for remote backup and restore.
[0083] Furthermore, the missing probability set output module 13 in the remote backup and restoration system of the firmware is also used for:
[0084] The historical usage information is analyzed, including the entry and exit time of the blade operating system, the residence time of the blade operating system, and the usage frequency of the blade operating system; training is performed based on the entry and exit time of the blade operating system, the residence time of the blade operating system, the usage frequency of the blade operating system, and the identification information of the missing probability to obtain the missing probability prediction model.
[0085] Furthermore, the operating system deployment location acquisition module 14 in the remote backup and restoration system of the firmware is also used for:
[0086] Perform resource capacity analysis on the blade server terminal, including CPU usage, memory usage and storage space, and output deployment resource capacity; calculate resource consumption indicators for deploying the blade operating system; and configure the operating system deployment position according to the deployment resource capacity and the resource consumption indicators.
[0087] Furthermore, the operating system deployment location acquisition module 14 in the remote backup and restoration system of the firmware is also used for:
[0088] Acquiring N blade operating systems corresponding to the operating system deployment position includes selecting N blade operating systems with the highest missing probabilities according to a missing probability set.
[0089] Furthermore, the operating system deployment location acquisition module 14 in the remote backup and restoration system of the firmware is also used for:
[0090] Obtain a resource quantity set corresponding to the blade operating system set; match the N resource quantities corresponding to the N blade operating systems according to the resource quantity set; determine whether the sum of the N resource quantities meets the deployment resource capacity, and if not, update the N blade operating systems in sequence.
[0091] Furthermore, the remote backup and restoration module 16 in the remote backup and restoration system of the firmware is also used for:
[0092] The remote client stores an operating system image corresponding to the blade operating system set, which provides operating system deployment, backup and restore capabilities for each business blade; wherein each business blade is provided with an ID code, and the ID code is synchronously mapped to the blade operating system set for management.
[0093] Furthermore, the remote backup and restoration module 16 in the remote backup and restoration system of the firmware is also used for:
[0094] The backup and restore instructions include backup instructions and restore instructions, wherein the backup instructions are used to save the current state of the blade operating system of the firmware, and the restore instructions are used to restore the state of the blade operating system previously backed up by the firmware.
[0095] Furthermore, the remote backup and restoration module 16 in the remote backup and restoration system of the firmware is also used for:
[0096] The BMC communicates with the BIOS via the LPC on the hardware link, the BIOS and the BMC communicate with each other, and the boot media selection is achieved via the IPMI protocol.
[0097] Furthermore, the remote backup and restoration module 16 in the remote backup and restoration system of the firmware is also used for:
[0098] The BMC controls the BIOS to start the operating systems of different partitions by defining two OEM commands, including a command for obtaining a startup sequence and a command for setting a startup sequence.
[0099] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The remote backup and restore method of a firmware in the aforementioned embodiment 1 and the specific examples are also applicable to the remote backup and restore system of a firmware in this embodiment. Through the aforementioned detailed description of the remote backup and restore method of a firmware, those skilled in the art can clearly understand the remote backup and restore system of a firmware in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0100] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
[0101] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.
Claims
1. A remote backup and restoration method for firmware, characterized in that: include: Recording historical usage information of a blade operating system of a firmware according to a remote client, wherein the firmware is a blade server; Obtaining a blade operating system set of the remote client; training a missing probability prediction model on the remote client according to the historical usage information, performing missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and outputting a missing probability set; Obtaining the operating system deployment location of the blade server terminal; According to the operating system deployment position as a constraint condition, the missing probability set is analyzed to obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; Based on the N blade operating systems, a backup and restore instruction is sent to the BMC managing the blades in the blade server to perform remote backup and restore.
2. The method according to claim 1, characterized in that Training a missing probability prediction model on the remote client according to the historical usage information includes: Analyzing the historical usage information, including the entry and exit time of the blade operating system, the residence time of the blade operating system, and the usage frequency of the blade operating system; The missing probability prediction model is acquired by training based on the entry and exit time of the blade operating system, the residence time of the blade operating system, the use frequency of the blade operating system, and the identification information identifying the missing probability.
3. The method according to claim 1, characterized in that Obtaining the operating system deployment location of the blade server terminal includes: Performing resource capacity analysis on the blade server terminal, including CPU usage, memory usage and storage space, and outputting deployment resource capacity; Calculating resource consumption indicators for deploying the blade operating system; The operating system deployment location is configured according to the deployment resource capacity and the resource consumption indicator.
4. The method according to claim 3, characterized in that Acquiring N blade operating systems corresponding to the operating system deployment position includes selecting N blade operating systems with the highest missing probabilities according to a missing probability set.
5. The method according to claim 4, characterized in that Obtaining a resource quantity set corresponding to the blade operating system set; Matching N resource amounts corresponding to the N blade operating systems according to the resource amount set; It is determined whether the sum of the N resource amounts satisfies the deployment resource capacity; if not, the N blade operating systems are updated in sequence.
6. The method according to claim 1, characterized in that The remote client stores an operating system image corresponding to the blade operating system set, and the operating system image provides operating system deployment, backup and restoration capabilities for each service blade; Each service blade is provided with an ID code, and the ID code is synchronously mapped to the blade operating system set for management.
7. The method according to claim 1, characterized in that The backup and restore instructions include backup instructions and restore instructions, wherein the backup instructions are used to save the current state of the blade operating system of the firmware, and the restore instructions are used to restore the state of the blade operating system previously backed up by the firmware.
8. The method according to claim 1, characterized in that The BMC communicates with the BIOS via the LPC on the hardware link, the BIOS and the BMC communicate with each other, and the boot media selection is achieved via the IPMI protocol.
9. The method according to claim 1, characterized in that The BMC controls the BIOS to start the operating systems of different partitions by defining two OEM commands, including a command for obtaining a startup sequence and a command for setting a startup sequence.
10. A remote firmware backup and restore system, characterized in that: The steps for implementing a remote backup and restore method of firmware as described in any one of claims 1 to 9 include: A historical usage information recording module, the historical usage information recording module is used to record historical usage information of a blade operating system of a firmware according to a remote client, wherein the firmware is a blade server; A blade operating system set acquisition module, the blade operating system set acquisition module is used to acquire the blade operating system set of the remote client; a missing probability set output module, the missing probability set output module being used to train a missing probability prediction model on the remote client according to the historical usage information, perform missing probability analysis on each blade operating system in the blade operating system set according to the missing probability prediction model, and output a missing probability set; An operating system deployment location acquisition module, the operating system deployment location acquisition module is used to acquire the operating system deployment location of the blade server terminal; A blade operating system acquisition module, the blade operating system acquisition module is used to analyze the missing probability set based on the operating system deployment position as a constraint condition, and obtain N blade operating systems corresponding to the operating system deployment position, where N is the number of the operating system deployment positions; A remote backup and restore module is used to send a backup and restore instruction to the BMC managing the blades in the blade server based on the N blade operating systems to perform remote backup and restore.
Citation Information
Patent Citations
Blade server, method for installing operating system thereof and system
CN101699401A
Integrated software and hardware system that enables automated provisioning and configuration of a blade based on its physical location
CN103270507A
Machine learning model for probabilistic prediction of success of operators in PAAS cloud environment
CN116438553A
Database cluster deployment method and device, computer equipment and storage medium
CN116701518A
Blade server management system
US20080162691A1
