WO2023184875A1 - 一种裸金属磁盘备份方法、装置及计算机可读存储介质 - Google Patents
一种裸金属磁盘备份方法、装置及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2023184875A1 WO2023184875A1 PCT/CN2022/118102 CN2022118102W WO2023184875A1 WO 2023184875 A1 WO2023184875 A1 WO 2023184875A1 CN 2022118102 W CN2022118102 W CN 2022118102W WO 2023184875 A1 WO2023184875 A1 WO 2023184875A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ironic
- bare metal
- command
- backup
- disk
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/544—Remote
Definitions
- the present application relates to the technical field of cloud computing, and in particular to a bare metal disk backup method, device and computer-readable storage medium.
- Bare Metal refers to a physical server without an operating system installed.
- the bare metal service of the cloud computing platform provides an exclusive computing resource with the advantages of automatic provisioning system, automatic network switching, and no performance loss. It is widely used in high-performance computing, key databases and other scenarios. Public clouds and private clouds of major manufacturers have successively provided this service, and most of them have adopted the bare metal service (Ironic) project in the OpenStack cloud computing management platform to provide bare metal life cycle management.
- Bare metal service Ironic manages the entire life cycle of bare metal on the cloud platform, including registration, hardware configuration, power management, status management, system deployment, etc. It is responsible for providing bare metal resources to nova, the computing service component of the cloud platform, and combines mirroring, network , storage component services, providing customers with bare metal system deployment services.
- the current bare metal system installation method is to write the system image to the local physical disk of the bare metal.
- This method of writing the local physical disk usually uses the configuration of disk arrays (Redundant Arrays of Independent Disks, RAID) for parity checking.
- Disk redundancy protection is implemented to prevent data loss caused by hardware damage to a single physical disk.
- RAID Redundant Arrays of Independent Disks
- embodiments of the present application provide a bare metal disk backup method, including:
- Extend Ironic-api as a backup interface to receive information about target physical disks in bare metal through the backup interface;
- Control Ironic-conductor to generate a command to back up the target physical disk according to the information
- Ironic-Python-Agent Send the command to Ironic-Python-Agent, so that the Ironic-Python-Agent converts the information of the target physical disk into a target image file according to the command and uploads it to Glance.
- a bare metal disk backup device including:
- An extension module for extending Ironic-api as a backup interface to receive information about the target physical disk in bare metal through the backup interface;
- a control module configured to control Ironic-conductor to generate a command to back up the target physical disk based on the information
- a sending module configured to send the command to Ironic-Python-Agent, so that the Ironic-Python-Agent converts the information of the target physical disk into a target image file according to the command and uploads it to Glance.
- a bare metal disk backup device including:
- a processor configured to implement the steps of the bare metal disk backup method in any embodiment when executing the computer readable instructions.
- embodiments of the present application provide one or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the The one or more processors perform the steps of the bare metal disk backup method in any embodiment.
- Figure 1 is a flow chart of a bare metal disk backup method according to one or more embodiments
- Figure 2 is a schematic diagram of a bare metal disk backup principle according to one or more embodiments
- Figure 3 is a schematic structural diagram of a bare metal disk backup device according to one or more embodiments
- Figure 4 is a schematic structural diagram of another bare metal disk backup device according to one or more embodiments.
- Bare metal is a physical server without an operating system installed. It has the characteristics of a traditional physical server and the virtualization service function of cloud computing technology. It is a product of the combination of the advantages of hardware and software. Its essence is a server that combines cloud computing service functions and provides physical device performance.
- the bare metal service of the cloud computing platform provides an exclusive computing resource with the advantages of automatic provisioning system, automatic network switching, and no performance loss. It is widely used in high-performance computing, key databases and other scenarios. Public clouds and private clouds of major manufacturers have successively provided this service, and most of them have adopted the Ironic project in the OpenStack cloud computing management platform to provide bare metal life cycle management.
- Bare metal service Ironic manages the entire life cycle of bare metal on the cloud platform, including registration, hardware configuration, power management, status management, system deployment, etc. It is responsible for providing bare metal resources to nova, the computing service component of the cloud platform, and combines mirroring, network , storage component services, providing customers with bare metal system deployment services.
- Existing bare metal system installation includes writing the system image to the bare metal local physical disk. This way of writing to a local disk usually uses RAID for parity check for disk redundancy protection to prevent data loss caused by hardware damage to a single physical disk, but the reliability is still limited.
- Figure 1 is a flow chart of a bare metal disk backup method provided by an embodiment of the present application. As shown in Figure 1, bare metal disk backup methods include:
- Step S10 Extend Ironic-api as a backup interface to receive information about the target physical disk in bare metal through the backup interface.
- Step S11 Control the Ironic-conductor to generate a command for backing up the target physical disk based on the information.
- Step S12 Send the command to Ironic-Python-Agent, so that Ironic-Python-Agent converts the information of the target physical disk into the target image file according to the command and uploads it to Glance.
- FIG 2 is a schematic diagram of a bare metal disk backup principle provided by an embodiment of the present application.
- Ironic's bare metal service interface (Ironic-api) is extended as a backup interface to receive information about the bare metal target physical disk, including but not limited to the name of the disk to be backed up. , as well as the project and project name of the image to be created.
- Ironic-api is a RESTful (a design style and development method of network applications) application programming interface (Application Programming Interface, API) service. Administrators and other services interact with Ironic through the API.
- the bare metal management configuration service (Ironic-conductor) is controlled to generate a command to back up the target physical disk.
- Ironic-conductor is one of the processes of Ironic. It is used to complete most of the work of Ironic services. It opens its functions to the outside world through APIs, interacts with Ironic-api through remote procedure calls (Remote Procedure Call, RPC), and is responsible for interacting with other components. to interact.
- RPC Remote Procedure Call
- Ironic-Python-Agent is an agent running on the bare metal memory file system and is responsible for hardware discovery, Deployment, disk cleanup and other tasks.
- the Mirror Service provides OpenStack with services for discovering, registering, and obtaining virtual machine images, and provides a RESTful API for querying virtual machine image metadata.
- Ironic-Python-Agent converts the target physical disk information into the target image file according to the command and uploads it to Glance, realizing the backup of the target physical disk.
- the bare metal needs the backup of the disk, it can be obtained from Glance, preventing Loss of disk contents.
- Ironic-api By extending Ironic-api as a backup interface, it is used to receive information about the target physical disk in bare metal through the backup interface; control Ironic-conductor to generate a command to backup the target physical disk based on the information, and send the command to Ironic-Python-Agent to use Use the Ironic-Python-Agent to convert the target physical disk information into the target image file according to the command and upload it to Glance.
- the above technical solution uses an in-band method to back up the bare metal local disk as a mirror in Glance. When the backup file of the disk is needed, it can be obtained from Glance in the back-end docking storage to achieve data recovery and use, which greatly Improve the experience of cloud platform bare metal services and make them very reliable.
- the command to control Ironic-conductor to generate a backup target physical disk based on the information includes:
- first control Ironic-api to call the RPC interface of Ironic-conductor, thereby triggering Ironic-conductor to back up the target physical disk of bare metal.
- the calling method of Ironic-api calling the RPC interface of Ironic-conductor can be rpc cast, which is an asynchronous call.
- Call Glance to download the bare metal deployment image to the Trivial File Transfer Protocol (tftp) directory.
- the deployment image is the kernel image and memory disk image associated when registering bare metal.
- the configuration file of the Preboot eXecution Environment (PXE) is generated.
- PXE here is also called the pre-execution environment. It provides a mechanism to start the computer using the Network Interface. This mechanism allows the computer to start without relying on local data storage devices (such as hard drives) or locally installed operating systems.
- IPMI Intelligent Platform Management Interface
- IPMI Intelligent Platform Management Interface
- IPMI can span different operating systems, firmware and hardware platforms, and can intelligently monitor, control and automatically report a large number of The operating status of the server to reduce server system costs.
- IPMI Intelligent Platform Management Interface
- IPA runs and calls back, finally causing Ironic-conductor to establish a heartbeat connection with Ironic-Python-Agent to generate commands for use. In the future, the backup command will be issued through the IPA extended interface.
- Ironic-api By controlling the Ironic-api to call the RPC interface of Ironic-conductor, calling Glance to download the bare metal deployment image to the tftp directory, generating the PXE configuration file, and controlling the Ironic-conductor to issue IPMI commands to trigger the deployment of bare metal based on the image.
- Restart the configuration file from PXE control Ironic-conductor to establish a heartbeat connection with Ironic-Python-Agent, and generate a command to back up the target physical disk.
- Control Ironic-api to determine whether the target physical disk and its backup items in the information exist
- controlling Ironic-api before controlling Ironic-api to call the RPC interface of Ironic-conductor, controlling Ironic-api determines whether the target physical disk and its backup items in the information exist, and in response to the judgment result being that they exist, enter the control Steps for Ironic-api to call the RPC interface of Ironic-conductor;
- controlling Ironic-api before controlling Ironic-api to call the RPC interface of Ironic-conductor, controlling Ironic-api determines whether the target physical disk and its backup item in the information exist, and generates a backup in response to the judgment result being that it does not exist. wrong information.
- the input backup disk information may be wrong.
- the Ironic-api before controlling the Ironic-api to call the RPC interface of the Ironic-conductor, it is necessary to control the Ironic-
- the API determines whether the target physical disk and its backup items in the information exist. Specifically, Ironic-api performs parameter verification. If the selected physical disk and backup item do not exist, an error will be reported directly and a backup error message will be generated; if the selected backup physical disk and backup item exist, Ironic-api will be called. Conductor's RPC interface is backed up.
- control Ironic-api In order to prevent incorrect backup disk information from being entered, before controlling Ironic-api to call the RPC interface of Ironic-conductor, control Ironic-api to determine whether the target physical disk and its backup items in the information exist, and then perform operations on whether to back up based on the results. Improved backup efficiency.
- Ironic-conductor adopts an event-driven code architecture
- a backup event is added, that is, a backup event, and the current bare metal status is set to backup (backingup).
- Ironic receives the RPC call, it triggers the backup event to prepare PXE for bare metal and triggers Ironic to restart from PXE.
- the network service (Neutron) interface is called to switch the bare metal network from the business network to the deployment network, that is, changing the network status of the bare metal during the disk backup process to facilitate disk backup.
- the specific steps for Ironic-Python-Agent to convert the target physical disk information into a target image file according to the command and upload it to Glance include:
- first Ironic-Python-Agent i.e. IPA
- dd is a command on Unix and Unix-like systems, its main function is to convert and copy files
- IPA calls the authentication service (keystone) interface.
- Keystone is the function in the OpenStack framework responsible for authentication, service rules and service tokens. Therefore, by calling the Keystone interface, you can obtain a token so that the backup can be authenticated. Then call Glance based on the token to create the temporary image file as the target image file under Glance.
- IPA converts the information of the target physical disk into a temporary image file according to the command, calls the Keystone interface to obtain the token, and calls Glance based on the token, thereby creating the temporary image file as the target image file under Glance, realizing the target physical disk in the Backup under Glance.
- IPA converts the target physical disk information into a temporary image file through the dd command, and the file format is img format.
- the qemu-img tool uses the qemu-img tool to change the format of the temporary image file and convert it from img format to qcow2 format.
- the qcow2 image format can use a file to represent a fixed-size block device, has a smaller file size, and supports copy-on-write (COW, Copy-on-write), snapshot and zlib-based data compression, and supports Advanced Encryption Standard (AES) encryption.
- COW copy-on-write
- AES Advanced Encryption Standard
- the Ironic-conductor is controlled to set the status of the bare metal to the original status and call the Neutron interface to switch the bare metal network from the deployment network to the business network.
- the command execution status of the Ironic-Python-Agent is obtained at a preset period, and in response to determining that the command execution is completed based on the command execution status, the Ironic-conductor is controlled. Set the status of the bare metal to the original status, and call the Neutron interface to switch the bare metal network from the deployment network to the business network.
- Ironic-Python-Agent After receiving the backup command, Ironic-Python-Agent creates an image file under Glance based on the information of the target physical disk according to the command. At this time, it is also necessary to obtain the command execution status of Ironic-Python-Agent according to the preset period to determine whether the backup command has been executed; there is no limit on the preset period and can be determined according to the specific implementation situation. If it is determined that the command execution is completed based on the command execution status, that is, the image file under Glance has been created. At this time, you need to control Ironic-conductor to set the status of the bare metal to the original status, that is, change the backup event status to the original status. state.
- the original state is running, that is, the state where the bare metal is running normally, thereby releasing the backup state and clearing the cache files; and calling the Neutron interface to switch the bare metal network from the deployment network to the business network, and then switching the network back to the business network so that Normal operation with subsequent bare metal.
- the command execution status of Ironic-Python-Agent can be obtained according to the preset period; if the command execution is determined to be completed based on the command execution status, the Ironic-conductor is controlled to set the status of the bare metal to the original state. It is stateful and calls the Neutron interface to switch the bare metal network from the deployment network to the business network so that the bare metal can run normally later.
- the above embodiment describes the bare metal disk backup method.
- the embodiments of this application also provide corresponding implementation methods of bare metal disk backup devices. It should be noted that the embodiments of the present application describe practical examples of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware structure perspective.
- FIG 3 is a schematic structural diagram of a bare metal disk backup device provided by an embodiment of the present application. As shown in Figure 3, the bare metal disk backup device includes:
- Extension module 10 is used to extend Ironic-api as a backup interface to receive information about the target physical disk in bare metal through the backup interface.
- the control module 11 is used to control the Ironic-conductor to generate a command for backing up the target physical disk based on the information.
- the sending module 12 is used to send commands to Ironic-Python-Agent, so that Ironic-Python-Agent converts the information of the target physical disk into a target image file according to the command and uploads it to Glance.
- the expansion module 10 extends Ironic's Ironic-api as a backup interface to receive information about the target physical disk of bare metal, including but not limited to the name of the disk to be backed up, as well as the project and project of the mirror to be created. name.
- Ironic-api is a RESTful API service. Administrators and other services interact with Ironic through the API.
- Ironic-conductor is one of Ironic's processes, used to complete most of the work of Ironic services, open its functions to the outside world through API, interact with Ironic-api through remote procedure call RPC interface, and is responsible for interacting with other components.
- Ironic-conductor there is no restriction on the specific process of controlling the Ironic-conductor to generate the command for backing up the target physical disk, and it depends on the specific implementation situation.
- the sending module 12 sends the command to Ironic-Python-Agent.
- Ironic-Python-Agent IPA
- Glance provides services for OpenStack to discover, register and obtain virtual machine images, and provides a RESTful API to query virtual machine image metadata.
- Ironic-Python-Agent converts the target physical disk information into the target image file according to the command and uploads it to Glance, realizing the backup of the target physical disk.
- the bare metal needs the backup of the disk, it can be obtained from Glance, preventing Loss of disk contents.
- there is no restriction on the generation process of the target image file and it depends on the specific implementation situation.
- the bare metal disk backup device provided in the embodiment of Figure 3 extends the Ironic-api as a backup interface through an expansion module to receive information about the target physical disk in the bare metal through the backup interface; and controls the Ironic-conductor according to the information through the control module Generate a command to back up the target physical disk; send the command to Ironic-Python-Agent through the sending module, so that Ironic-Python-Agent can convert the target physical disk information into a target image file according to the command and upload it to Glance. It can be seen that the device backs up the bare metal local disk as an image in Glance in-band. When the backup file of the disk is needed, it can be obtained from Glance in the back-end docking storage to achieve data recovery and use, which greatly improves the cloud The platform’s bare metal service experience is very reliable.
- FIG 4 is a schematic structural diagram of another bare metal disk backup device provided by an embodiment of the present application. As shown in Figure 4, the bare metal disk backup device includes:
- Memory 20 for storing computer readable instructions.
- the processor 21 is configured to implement the steps of the bare metal disk backup method in any of the previous embodiments when executing computer readable instructions.
- the bare metal disk backup device provided by the embodiment of FIG. 4 may include, but is not limited to, a smartphone, a tablet computer, a notebook computer or a desktop computer.
- the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
- the processor 21 can adopt at least one hardware form among a digital signal processor (Digital Signal Processor, DSP), a field-programmable gate array (Field-Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). to fulfill.
- DSP Digital Signal Processor
- FPGA field-programmable gate array
- PROgrammable Logic Array PLA
- the processor 21 may also include a main processor and a co-processor.
- the main processor is a processor used to process data in the wake-up state, also called a central processing unit (Central Processing Unit, CPU); the co-processor is A low-power processor used to process data in standby mode.
- CPU Central Processing Unit
- the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is responsible for rendering and drawing content that needs to be displayed on the display screen.
- the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor, which is used to process computing operations related to machine learning.
- AI Artificial Intelligence
- Memory 20 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 20 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices.
- the memory 20 is at least used to store the following computer readable instructions 201. After the computer readable instructions are loaded and executed by the processor 21, the relevant aspects of the bare metal disk backup method disclosed in any of the previous embodiments can be implemented. step.
- the resources stored in the memory 20 may also include the operating system 202, data 203, etc., and the storage method may be short-term storage or permanent storage.
- the operating system 202 may include Windows, Unix, Linux, etc.
- Data 203 may include but is not limited to data involved in the bare metal disk backup method.
- the bare metal disk backup device may also include a display screen 22 , an input and output interface 23 , a communication interface 24 , a power supply 25 and a communication bus 26 .
- Figure 4 does not constitute a limitation on the bare metal disk backup device, and may include more or fewer components than shown in the figure.
- This application also provides a corresponding embodiment of a computer-readable storage medium.
- Computer-readable instructions are stored on the computer-readable storage medium.
- the steps of the bare metal disk backup method in any of the previous embodiments are implemented.
- Embodiments of the present application propose one or more non-volatile computer-readable storage media storing computer-readable instructions.
- the computer-readable instructions When executed by one or more processors, the one or more processes cause the The server performs the steps of the bare metal disk backup method in any of the previous embodiments.
- the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , execute all or part of the steps of the methods described in various embodiments of this application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (20)
- 一种裸金属磁盘备份方法,其特征在于,包括:扩展Ironic-api作为备份接口,以用于通过所述备份接口接收裸金属中目标物理磁盘的信息;根据所述信息控制Ironic-conductor生成备份所述目标物理磁盘的命令;以及发送所述命令至Ironic-Python-Agent,以用于所述Ironic-Python-Agent根据所述命令将所述目标物理磁盘的所述信息转换为目标镜像文件并上传至Glance。
- 根据权利要求1所述的裸金属磁盘备份方法,其特征在于,所述根据所述信息控制Ironic-conductor生成备份所述目标物理磁盘的命令,包括:控制所述Ironic-api调用所述Ironic-conductor的RPC接口;调用所述Glance下载所述裸金属的部署镜像至tftp目录下,生成PXE的配置文件;控制所述Ironic-conductor下发IPMI命令,以用于触发所述裸金属根据所述部署镜像和所述配置文件从所述PXE中重启;以及控制所述Ironic-conductor与所述Ironic-Python-Agent建立心跳连接,以生成所述命令。
- 根据权利要求2所述的裸金属磁盘备份方法,其特征在于,在所述控制所述Ironic-api调用所述Ironic-conductor的RPC接口之前,还包括:控制所述Ironic-api判断所述信息中所述目标物理磁盘及其备份项目是否存在;以及响应于判断结果为存在,进入到所述控制所述Ironic-api调用所述Ironic-conductor的RPC接口的步骤;
- 根据权利要求2所述的裸金属磁盘备份方法,其特征在于,在所述控制所述Ironic-api调用所述Ironic-conductor的RPC接口之前,还包括:控制所述Ironic-api判断所述信息中所述目标物理磁盘及其备份项目是否存在;以及响应于判断结果为不存在,生成备份错误的信息。
- 根据权利要求2所述的裸金属磁盘备份方法,其特征在于,所述控制所述Ironic-api调用所述Ironic-conductor的RPC接口,包括:控制所述Ironic-api通过异步调用的方式调用所述Ironic-conductor的RPC接口。
- 根据权利要求2所述的裸金属磁盘备份方法,其特征在于,在所述调用所述Glance下载所述裸金属的部署镜像至tftp目录下之前,还包括:控制所述Ironic-conductor将所述裸金属的状态设置为备份中;以及调用Neutron接口将所述裸金属的网络从业务网络切换为部署网络。
- 根据权利要求1至6任一项所述的裸金属磁盘备份方法,其特征在于,所述Ironic-Python-Agent根据所述命令将所述目标物理磁盘的所述信息转换为目标镜像文件并上传至Glance的具体步骤包括:根据所述命令将所述目标物理磁盘的所述信息转换为临时镜像文件;调用Keystone接口以获取令牌;以及根据所述令牌调用所述Glance,以用于将所述临时镜像文件创建为所述Glance下的所述目标镜像文件。
- 根据权利要求7所述的裸金属磁盘备份方法,其特征在于,所述根据所述令牌调用所述Glance,包括:根据所述令牌对备份操作进行身份验证;以及响应于身份验证通过,调用所述Glance。
- 根据权利要求1至8所述的裸金属磁盘备份方法,其特征在于,所述命令为Unix或类Unix系统中的dd命令。
- 根据权利要求9所述的裸金属磁盘备份方法,其特征在于,所述根据所述命令将所述目标物理磁盘的所述信息转换为临时镜像文件,包括:根据所述dd命令将所述目标物理磁盘的所述信息转换为格式为img格式的临时镜像文件。
- 根据权利要求10所述的裸金属磁盘备份方法,其特征在于,在所述调用Keystone接口以获取令牌之前,还包括:通过qemu-img工具将所述临时镜像文件的格式由img格式转换为qcow2格式。
- 根据权利要求11所述的裸金属磁盘备份方法,其特征在于,还包括:对具有qcow2格式的临时镜像文件采用高级加密标准进行加密。
- 根据权利要求1至12任一项所述的裸金属磁盘备份方法,其特征在于,在所述发送所述命令至Ironic-Python-Agent之后,还包括:按预设周期获取所述Ironic-Python-Agent的命令执行情况;以及响应于根据所述命令执行情况确定命令执行完成,控制所述Ironic-conductor将所述裸金属的状态设置为原有状态,并调用所述Neutron接口将所述裸金属的网络从所述部署网络切换为所述业务网络。
- 根据权利要求13所述的裸金属磁盘备份方法,其特征在于,所述控制所述Ironic-conductor将所述裸金属的状态设置为原有状态,包括:控制所述Ironic-conductor 将所述裸金属的备份事件状态设置为原有状态。
- 根据权利要求13或14所述的裸金属磁盘备份方法,其特征在于,还包括:在所述调用所述Neutron接口将所述裸金属的网络从所述部署网络切换为所述业务网络之前,接触备份状态,清理缓存文件。
- 根据权利要求1至15任一项所述的裸金属磁盘备份方法,其特征在于,所述目标物理磁盘的信息包括要备份的磁盘的名称,以及将要创建的镜像的项目和项目名称。
- 根据权利要求1至16任一项所述的裸金属磁盘备份方法,其特征在于,还包括:响应于所述裸金属需要该磁盘的备份的指令,从Glance中获取所述目标镜像文件。
- 一种裸金属磁盘备份装置,其特征在于,包括:扩展模块,用于扩展Ironic-api作为备份接口,以用于通过所述备份接口接收裸金属中目标物理磁盘的信息;控制模块,用于根据所述信息控制Ironic-conductor生成备份所述目标物理磁盘的命令;以及发送模块,用于发送所述命令至Ironic-Python-Agent,以用于所述Ironic-Python-Agent根据所述命令将所述目标物理磁盘的所述信息转换为目标镜像文件并上传至Glance。
- 一种裸金属磁盘备份装置,其特征在于,包括:存储器,用于存储计算机可读指令;处理器,用于执行所述计算机可读指令时实现如权利要求1至17任一项所述的裸金属磁盘备份方法的步骤。
- 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至17任一项所述的裸金属磁盘备份方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210321233.6A CN114416434B (zh) | 2022-03-30 | 2022-03-30 | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 |
| CN202210321233.6 | 2022-03-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023184875A1 true WO2023184875A1 (zh) | 2023-10-05 |
Family
ID=81263868
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/118102 Ceased WO2023184875A1 (zh) | 2022-03-30 | 2022-09-09 | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114416434B (zh) |
| WO (1) | WO2023184875A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024217061A1 (zh) * | 2023-12-12 | 2024-10-24 | 天翼云科技有限公司 | 基于三层化网络的裸金属部署方法、装置、设备及介质 |
| CN119127578A (zh) * | 2024-10-30 | 2024-12-13 | 浪潮云信息技术股份公司 | 一种裸金属节点的镜像并发下载方法、装置、设备及介质 |
| CN119356764A (zh) * | 2024-12-25 | 2025-01-24 | 珠海星云智联科技有限公司 | 一种裸金属服务器部署方法及系统 |
| CN120915798A (zh) * | 2025-09-25 | 2025-11-07 | 中移(苏州)软件技术有限公司 | 服务器信息采集、更新方法与装置、系统、介质、产品及设备 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114416434B (zh) * | 2022-03-30 | 2022-07-08 | 苏州浪潮智能科技有限公司 | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 |
| CN117891472B (zh) * | 2024-03-11 | 2024-06-04 | 杭州吉利汽车数字科技有限公司 | 一种裸金属镜像部署的方法、装置及介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120072398A1 (en) * | 2008-07-10 | 2012-03-22 | Cms Products, Inc. | Method and Apparatus for Creating a Self Booting Operating System Image Backup on an External USB Hard Disk Drive That is Capable of Performing a Complete Restore to an Internal System Disk |
| CN107765990A (zh) * | 2016-08-17 | 2018-03-06 | 中兴通讯股份有限公司 | 一种系统磁盘管理方法和装置 |
| CN111090439A (zh) * | 2019-12-13 | 2020-05-01 | 苏州浪潮智能科技有限公司 | 裸金属服务器linux系统镜像生成方法、装置及设备 |
| CN113918174A (zh) * | 2021-10-27 | 2022-01-11 | 华云数据控股集团有限公司 | 裸金属服务器的部署方法、部署控制器及服务器集群 |
| CN114416434A (zh) * | 2022-03-30 | 2022-04-29 | 苏州浪潮智能科技有限公司 | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150278032A1 (en) * | 2014-04-01 | 2015-10-01 | Ca, Inc. | Providing services on system being recovered |
| CN108984272A (zh) * | 2018-07-23 | 2018-12-11 | 郑州云海信息技术有限公司 | OpenStack云计算管理平台的控制方法和装置 |
| CN109144821A (zh) * | 2018-09-05 | 2019-01-04 | 山东浪潮云投信息科技有限公司 | 一种云计算数据中心内物理服务器自动管理方法 |
| CN111756629B (zh) * | 2019-03-26 | 2022-06-03 | 中移(苏州)软件技术有限公司 | 设备接入overlay网络及通信的方法、装置、设备、网络及介质 |
| CN112367186B (zh) * | 2020-10-13 | 2023-01-10 | 苏州浪潮智能科技有限公司 | 一种基于0penStack裸机的故障保护方法及装置 |
| CN112866017B (zh) * | 2021-01-08 | 2022-07-08 | 苏州浪潮智能科技有限公司 | 配置裸金属服务器bmc ip地址的方法、系统、介质及设备 |
| CN112948008B (zh) * | 2021-03-02 | 2023-06-23 | 浪潮云信息技术股份公司 | 一种基于Ironic管理物理裸机的方法 |
| CN113419813B (zh) * | 2021-05-21 | 2023-02-24 | 济南浪潮数据技术有限公司 | 一种基于容器平台部署裸机管理服务的方法及装置 |
-
2022
- 2022-03-30 CN CN202210321233.6A patent/CN114416434B/zh active Active
- 2022-09-09 WO PCT/CN2022/118102 patent/WO2023184875A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120072398A1 (en) * | 2008-07-10 | 2012-03-22 | Cms Products, Inc. | Method and Apparatus for Creating a Self Booting Operating System Image Backup on an External USB Hard Disk Drive That is Capable of Performing a Complete Restore to an Internal System Disk |
| CN107765990A (zh) * | 2016-08-17 | 2018-03-06 | 中兴通讯股份有限公司 | 一种系统磁盘管理方法和装置 |
| CN111090439A (zh) * | 2019-12-13 | 2020-05-01 | 苏州浪潮智能科技有限公司 | 裸金属服务器linux系统镜像生成方法、装置及设备 |
| CN113918174A (zh) * | 2021-10-27 | 2022-01-11 | 华云数据控股集团有限公司 | 裸金属服务器的部署方法、部署控制器及服务器集群 |
| CN114416434A (zh) * | 2022-03-30 | 2022-04-29 | 苏州浪潮智能科技有限公司 | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024217061A1 (zh) * | 2023-12-12 | 2024-10-24 | 天翼云科技有限公司 | 基于三层化网络的裸金属部署方法、装置、设备及介质 |
| CN119127578A (zh) * | 2024-10-30 | 2024-12-13 | 浪潮云信息技术股份公司 | 一种裸金属节点的镜像并发下载方法、装置、设备及介质 |
| CN119356764A (zh) * | 2024-12-25 | 2025-01-24 | 珠海星云智联科技有限公司 | 一种裸金属服务器部署方法及系统 |
| CN120915798A (zh) * | 2025-09-25 | 2025-11-07 | 中移(苏州)软件技术有限公司 | 服务器信息采集、更新方法与装置、系统、介质、产品及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114416434A (zh) | 2022-04-29 |
| CN114416434B (zh) | 2022-07-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023184875A1 (zh) | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 | |
| US10073747B2 (en) | Reducing recovery time in disaster recovery/replication setup with multitier backend storage | |
| US9747179B2 (en) | Data management agent for selective storage re-caching | |
| US10754955B2 (en) | Authenticating a boot path update | |
| US20240378119A1 (en) | System and method for cloning as sql server ag databases in a hyperconverged system | |
| EP3750066B1 (en) | Protection of infrastructure-as-a-service workloads in public cloud | |
| WO2021129733A1 (zh) | 云操作系统的管理方法、装置、服务器、管理系统及介质 | |
| CN111488241A (zh) | 在容器编排平台实现无代理备份与恢复操作的方法和系统 | |
| US10452502B2 (en) | Handling node failure in multi-node data storage systems | |
| CN107111530B (zh) | 一种容灾方法、系统和装置 | |
| US10592373B2 (en) | Integrating external services with a clustered file system | |
| CN106777394B (zh) | 一种集群文件系统 | |
| CN112256393A (zh) | 一种裸金属服务器的资源管理方法及设备 | |
| CN117311627A (zh) | 容器卷热扩容系统、方法及介质 | |
| CN115576705B (zh) | 一种冗余固件的数据同步方法、装置及介质 | |
| CN110221868B (zh) | 主机系统的部署方法、装置、电子设备及存储介质 | |
| CN110688128A (zh) | 一种提高超融合存储可靠性的部署方法和装置 | |
| CN115174596A (zh) | 一种设备远程复制方法、装置以及介质 | |
| WO2022088812A1 (zh) | 一种基于Openstack的硬盘快照方法和装置 | |
| CN120429169B (zh) | 一种基于多云平台的数据恢复方法及系统 | |
| CN119311371B (zh) | 虚拟机迁移方法、装置、计算机设备、可读存储介质和程序产品 | |
| US12613784B2 (en) | Lossless failover for data recovery | |
| US12430183B2 (en) | Snapshot based pool of virtual resources for efficient development and test of hyper-converged infrastructure environments | |
| US20240231868A9 (en) | Management of duplicative virtual machine entries for a data management system | |
| CN110955489B (zh) | 用于可靠地恢复虚拟机的方法和系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22934694 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22934694 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/04/2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22934694 Country of ref document: EP Kind code of ref document: A1 |