Computing node boot using images of different image formats

The system addresses delays in cloud computing by using a bootloader to initiate preboot environments and network booting, facilitating efficient and dynamic deployment of computing nodes with reduced conversion times and improved workload migration.

US20260377193A1Pending Publication Date: 2026-11-26HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/212864
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Cloud computing environments face delays and inefficiencies in starting computing nodes due to the conversion of bootable machine images from non-native to native formats, and migration of workloads is hindered by lengthy conversion queues and unsatisfactory performance of existing nodes.

Method used

A system utilizing a small program image with a bootloader to initiate a preboot environment, followed by accessing metadata for boot images in a non-native format, enabling rapid network booting of operating systems in computing nodes.

Benefits of technology

Enables fast and flexible deployment of computing nodes by reducing conversion times and allowing dynamic updates, thus improving workload migration and node availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377193A1-D00000_ABST
    Figure US20260377193A1-D00000_ABST
Patent Text Reader

Abstract

In some examples, a system receives information of a program image including a bootloader from a computing node management service, the program image having a first image format compatible with a computing environment in which a computing node is to be started. The bootloader starts a preboot environment in the computing node. The computing node accesses a metadata service to obtain metadata for a boot image for the computing node. The computing node obtains, from the metadata, location information of the boot image available at a storage system outside the computing environment, where the boot image has a second image format different from the first image format. Based on the location information, a network boot is initiated using the boot image at the storage system to boot an operating system (OS) in the computing node.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] Cloud computing allows a user to request resources of a cloud computing environment on an on-demand basis to implement the user's services. The cloud computing environment may be operated by a cloud provider, and the user may be a tenant (or a member of a tenant) of the cloud provider.BRIEF DESCRIPTION OF THE DRAWINGS

[0002] Some implementations of the present disclosure are described with respect to the following figures.

[0003] FIG. 1 is a block diagram of an arrangement including a computing environment, a virtual machine (VM) orchestration service, a metadata service, and a boot image storage system for storing boot images, according to some examples.

[0004] FIG. 2 is a flow diagram of a process to start a VM in a computing environment, according to some examples.

[0005] FIG. 3 is a flow diagram of a process of starting a VM in a new computing environment, according to some examples.

[0006] FIG. 4 is a block diagram of a storage medium storing machine-readable instructions according to some examples.

[0007] FIG. 5 is a block diagram of a system according to some examples.

[0008] FIG. 6 is a flow diagram of a process according to some examples.

[0009] Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements. The figures are not necessarily to scale, and the size of some parts may be exaggerated to more clearly illustrate the example shown. Moreover, the drawings provide examples and / or implementations consistent with the description; however, the description is not limited to the examples and / or implementations provided in the drawings.DETAILED DESCRIPTION

[0010] Some cloud computing environments (e.g., cloud computing environments provided by hyperscalers or other types of cloud computing environments) allow tenants to use the tenants' bootable machine images to boot computing nodes in the cloud computing environments. In some examples, a bootable machine image from a tenant includes a full operating system (OS). A computing node started in a cloud computing environment can include a virtual machine (VM) executed on a processing resource of the cloud computing environment, or alternatively, a physical machine in the cloud computing environment. The cloud provider of the cloud computing environment can define a specific format (referred to as a "native image format") that a bootable machine image is to be compliant with. Different cloud providers can define different native image formats for bootable machine images. A bootable machine image that complies with the native image format defined by a cloud provider of a given cloud computing environment is referred to as a "native bootable machine image" for the given cloud computing environment.

[0011] Before a tenant can start a computing node in a cloud computing environment using a bootable machine image, the tenant submits the tenant's bootable machine image (having a non-native image format that differs from the native image format) to an image conversion service of the cloud computing environment. The image conversion service converts the bootable machine image from the non-native image format to the native image format. Different tenants submit their respective bootable machine images in various different non-native image formats to the image conversion service, and the image conversion service can perform conversions of the bootable machine images in offline processes prior to the tenants being able to start their respective computing nodes in the cloud computing environment. Conversion requests to convert the bootable machine images may sit in a queue of the image conversion service for a relatively long period of time, especially if there are many such conversion requests. For example, a conversion request may wait in the queue for many hours or even days, and after processing of the conversion request is started, the time involved in converting the respective bootable machine image is proportional to the size of the bootable machine image (which can be quite large because the full OS is in the bootable machine image).

[0012] Additionally, if a computing node of a given tenant running in a first cloud computing environment becomes unavailable or the performance of the computing node becomes unsatisfactory, the given tenant may have to repeat the process of submitting the given tenant's bootable machine image to a second cloud computing environment for image conversion. Thus, the given tenant may experience significant delays in migrating the given tenant's workload from the first cloud computing environment to the second cloud computing environment.

[0013] In accordance with some implementations of the present disclosure, a system of a computing environment receives information of a program image including a bootloader from a computing node management service. The program image has a native image format compatible with the computing environment in which a computing node is to be started. The program image is a relatively small image that includes the bootloader but does not include a full OS. For example, the program image may have a size that is less than a few megabytes (MB). The system uses the bootloader in the program image to start a preboot environment in the computing node that runs in the computing environment. The computing node can include a VM or a physical machine. After the preboot environment is started in the computing node, the computing node accesses a metadata service to obtain information for a boot image for the computing node. The information for the boot image maintained at the metadata service can be dynamically provided. When tenants wish to deploy computing nodes in the computing environment, the tenants can add information of respective boot images to the metadata service. The information can be dynamically updated as boot images change. The computing node receives, from the metadata service, location information of the boot image available at a storage system outside the computing environment. The boot image has a second (non-native) image format different from the native image format. For example, the second image format may be a format used by a tenant when developing the boot image. The computing node initiates, based on the location information, a network boot using the boot image at the storage system to boot an OS in the computing node.

[0014] A "computing environment" can refer to a cloud computing environment, a data center, a server environment, or any other type of computing environment. Examples of cloud computing environments include hyperscaler computing environments, serverless cloud computing environments, public cloud computing environments, private cloud computing environments, or hybrid cloud computing environments.

[0015] An "image" can refer to machine-readable instructions in machine executable form. The image can be present in one or more files (or other types of objects). An image can have an image format, which defines the syntax and structure of the machine-readable instructions of the image. The syntax can specify the form of the expressions and symbols of the machine-readable instructions, and the rules according to which the expressions and symbols are used. The structure can specify how the expressions and symbols of the image are to be arranged.

[0016] An image having a native image format is "compatible with" a given computing environment (e.g., a cloud computing environment) if the image is capable of executing in the computing environment without changing the format of the image. An image having a non-native image format is incapable of executing in the given computing environment without first converting the format of the image. The image having the non-native image format is incompatible with the given computing environment.

[0017] A "bootloader" can refer to machine-readable instructions that are executable to start one or more target components in a computing node. The target components can include any or some combination of: system firmware, such as Basic Input / Output System (BIOS) firmware or Universal Extensible Firmware Interface (UEFI) firmware; an agent to initiate a Dynamic Host Configuration Protocol (DHCP) query or another type of query to obtain configuration information for the computing node; a network boot agent to initiate a network boot; or another component.

[0018] FIG. 1 is a block diagram of an example arrangement that includes a computing environment 102, a VM orchestration service 104, a metadata service 106, and a boot image storage system 108 that is external of the computing environment 102. A "storage system" can include one or more storage devices. The VM orchestration service 104, the metadata service 106, and the boot image storage system 108 can be connected to the computing environment 102 over a network 103. Although represented as a single network, in other examples, multiple networks can connect the VM orchestration service 104, the metadata service 106, and the boot image storage system 108 to the computing environment 102. Examples of networks include a public network (e.g., the Internet), a local area network (LAN), a wide area network (WAN), a storage area network (SAN), or another type of network.

[0019] The VM orchestration service 104 and / or the metadata service 106 may be external of the computing environment 102 and may be executable on computer system(s) separate from processing resources of the computing environment 102. In other examples, the VM orchestration service 104 and / or the metadata service 106 may be part of the computing environment 102.

[0020] In some examples, the computing environment 102 may be operated by a computing environment provider, and the VM orchestration service 104 may be operated by a second provider that is different from the computing environment provider. Alternatively, the VM orchestration service 104 and the computing environment 102 may be operated by the same provider.

[0021] The VM orchestration service 104 is accessible to one or more tenants 110-1 to 110-M (where M ≥1) of the computing environment 102. A "tenant" of a computing environment refers to a user (or group of users) that can access resources of the computing environment 102 on-demand to perform workloads of the tenant. A "user" can refer to a human, a program, or a machine.

[0022] One or more VMs 112-1 to 112-N (where N ≥1) can be started in the computing environment 102 for tenant(s). Each tenant may request the starting of one or more VMs.

[0023] The computing environment 102 further includes a hypervisor 122, which is responsible for creating and managing VMs, and to emulate hardware resources for use by the VMs. The hypervisor 122 includes a VM startup controller 114 that interacts with the VM orchestration service 104 for starting the VMs 112-1 to 112-N using techniques according to some implementations of the present disclosure. In other examples, the VM startup controller 114 may be external of the hypervisor 122.

[0024] The VMs 112-1 to 112-N are examples of computing nodes that can be started in the computing environment 102. In other examples, computing nodes that can be started in the computing environment 102 can include physical machines, where a physical machine includes a computer (or a collection of computers) that can run workloads of a tenant. More generally, the VM orchestration service 104 can be a computing node orchestration service to orchestrate the starting of a computing node in the computing environment 102 using techniques according to some implementations of the present disclosure. The VM startup controller 114 can be a computing node startup controller to interact with the computing node orchestration service.

[0025] The VM startup controller 114 presents an interface accessible to the VM orchestration service 104. In some examples, the interface can include an application programming interface (API) including routines (also referred to as methods) accessible to an entity, such as the VM orchestration service 104, to request actions in the computing environment 102. For example, the API can include a create VM routine that when invoked by the VM orchestration service 104 causes the initiation of a VM (e.g., one of 112-1 to 112-N) for a tenant in the computing environment 102. In other examples, the interface presented by the VM startup controller 114 can include a command line interface or any other type of interface. More generally, the API can include a create computing node routine that when invoked causes the initiation of a computing node for a tenant in the computing environment 102.

[0026] The computing environment 102 includes a bootloader storage system 116 to store initial bootloader images 118-1 to 118-M. Although shown as being part of the computing environment 102, in other examples, the bootloader storage system 116 can be external of the computing environment 102.

[0027] Each initial bootloader image can include a bootloader to begin a boot process in a VM. Note that the initial bootloader image does not include an OS for the VM. As a result, the size of each 118-1 to 118-M is relatively small, e.g., on the order of a few MB (less than 50 MB, 20 MB, 10 MB, 5 MB, etc.).

[0028] The boot image storage system 108 stores boot images 120-1 to 120-M that are used for booting respective VMs in the computing environment 102. Each boot image includes a respective OS that can be booted in the respective VM. The boot image 120-1 includes an OS 122-1, and the boot image 120-M includes an OS 122-M. Examples of OSes can include any or some combination of the following: a Linux OS, a WINDOWS OS, a MAC OS, or any other type of OS.

[0029] In some examples of the present disclosure, each initial bootloader image 118-j (j = 1 to M) is according to a native image format compatible with the computing environment 102. In contrast, each boot image 120-j is in a non-native image format that is different from the native image format. For example, the non-native image format of a boot image can be according to an image format used by a respective tenant.

[0030] The metadata service 106 stores boot image metadata 126-1 to 126-N for the respective boot images to be used in booting the VMs 112-1 to 112-N. More specifically, the boot image metadata 126-1 to 126-N are stored in a memory accessible to the metadata service 106. The boot image metadata 126-1 includes location information of a boot image to use for booting the VM 112-1, and the boot image metadata 126-N includes location information of a boot image to use for booting the VM 112-N. The location information of a boot image metadata 126-k (k = 1 to N) can include a reference to a respective boot image, where the reference can indicate a storage location of the respective boot image in the boot image storage system 108. By using the boot image metadata 126-1 to 126-N, one boot image per VM does not have to be maintained. Rather, for each VM 112-k, the boot image metadata 126-k is used to obtain the respective boot image to use for booting the VM 112-k. There may be a large quantity of VMs (e.g., thousands or millions of VMs in the computing environment 102). Maintaining one boot image per VM would be expensive in terms of storage resources. Rather, one boot image metadata 126-k per VM 112-k can be maintained by the metadata service 106. Each boot image metadata 126-k can be dynamically updated by a tenant to change which boot image to use for booting the VM 112-k.

[0031] In some examples, the metadata service can be a Microsoft Azure or Amazon Instance Metadata Service (IMDS) that provides information for VMs. The IMDS provides an API through which a VM can access the IMDS. Other examples of metadata services include: a Google Cloud Platform (GCP) VM Metadata service, a DigitalOcean Droplet Metadata service, an Equinix Server Metadata Index service, or any other type of metadata service.

[0032] A tenant (e.g., the tenant 110-M) may submit a start request 150 to the VM orchestration service 104 to start a VM (e.g., one of VM 112-1 to 112-N) in the computing environment 102. In the ensuing discussion, it is assumed that the start request 150 from the tenant 110-M is to start the VM 112-1. Prior to the start request 150 from the tenant 110-M, the VM 112-1 may not yet exist.

[0033] Alternatively, in the context where a computing node to be started is a physical machine, prior to a start request from a tenant, the physical machine may be a bare metal machine without any program code loaded, and this bare metal machine is available for allocation to any requesting tenant.

[0034] The following refers to FIG. 1 and FIG. 2. FIG. 2 is a flow diagram of a process of starting the VM 112-1, in accordance with some examples of the present disclosure. In response to the start request 150 from the tenant 110-M, the VM orchestration service 104 sends (at 202) a VM create request 140 to the VM startup controller 114 through the interface presented by the VM startup controller 114. For example, the VM create request 140 can include a call of a create VM routine of an API presented by the VM startup controller 114. The VM create request 140 includes information of the initial bootloader image 118-M to be used for starting the VM 112-1. The information of the initial bootloader image 118-M included in the VM create request 140 can include a reference to the initial bootloader image 118-M in the bootloader storage system 116. The reference can include a uniform resource identifier (URI), a uniform resource locator (URL), a storage address, a file system pathname, or any other information that is useable to determine a storage location of the initial bootloader image 118-M in the bootloader storage system 116. The VM startup controller 114 uses the reference to retrieve (at 204) the initial bootloader image 118-M from the bootloader storage system 116.

[0035] The VM startup controller 114 can trigger the hypervisor 122 to create (at 206) the VM 112-1. The hypervisor 122 creates the VM 112-1 by allocating emulated resources (e.g., processing resources, memory resources, communication resources, etc.) of the computing environment 102 to the VM 112-1 so the VM 112-1 can use the allocated resources when the VM 112-1 starts running.

[0036] After the VM 112-1 is created, the VM startup controller 114 sends (at 208) the initial bootloader image 118-M to the VM 112-1. In addition, the VM startup controller 114 sends (at 210) the initial bootloader image 118-1 to the created VM 112-1. The hypervisor 122 sends a start VM command to the VM 112-1, which causes the VM 112-1 to start (at 212) a preboot environment 142 in the VM 112-1. The preboot environment 142 is started by executing the bootloader in the initial bootloader image 118-1.

[0037] In some examples, starting the preboot environment 142 includes loading system firmware (e.g., BIOS or UEFI firmware), a DHCP agent, and a network boot agent. The starting of the preboot environment 142 can include a chain of boot stages, where a first boot stage starts the system firmware, and subsequent boot stage(s) after the first boot stage start(s) other components including the DHCP agent and the network boot agent.

[0038] The DHCP agent can initiate a DHCP process to obtain an Internet Protocol (IP) address and other communication parameters for the VM 112-1. DHCP is a network management protocol that defines an exchange of messages between a DHCP agent and a DHCP server.

[0039] The network boot agent can initiate a network boot of the VM 112-1 using a boot image stored in a remote storage system, such as the boot image storage system 108. The network boot can include a preboot execution environment (PXE) boot to load an OS over a network, such as a SAN or another type of network. In some examples, the network boot agent can perform a network boot according to iPXE, which is an open source implementation of PXE. In other examples, other types of network boot techniques can be used to load an OS 144 in the VM 112-1.

[0040] The starting of the preboot environment 142 also includes providing a network address, e.g., an IP address, of the metadata service 106. This network address can be used by the VM 112-1 to access the metadata service 106.

[0041] Once the preboot environment 142 is started (at 212) in the VM 112-1, the DHCP agent in the VM 112-1 sends (at 214) a DHCP request to the hypervisor 122. In some examples, the hypervisor 122 may include a DHCP server that can respond to DHCP requests. In other examples, the hypervisor 122 can act as a proxy to forward DHCP requests to a DHCP server that is separate from the hypervisor 122.

[0042] In response to the DHCP request, the hypervisor 122 sends (at 216) the IP address and other communication parameters (e.g., a subnet mask, a gateway address, information of a domain name system (DNS) server, etc.) produced by the DHCP server for the VM 112-1. The IP address and other communication parameters can be used by the VM 112-1 for network communications while the VM is in the preboot phase (i.e., prior to the OS 144 being loaded).

[0043] The VM 112-1 can contact the metadata service 106 to obtain (at 218) the boot image metadata 126-1 to use for loading the OS 144 in the VM 112-1. For example, the metadata service 106 can present an API that the VM 112-1 can access. The boot image metadata 126-1 can include a reference to the boot image 120-M to use for network booting of the VM 112-1. Additionally, the boot image metadata 126-1 can include credentials, such as Challenge-Handshake Authentication Protocol (CHAP) credentials, for use by the VM 112-1 in performing authentication operations. For example, the VM 112-1 can use the credentials to authenticate itself with the metadata service 106.

[0044] Using the reference to the boot image 120-M included in the boot image metadata 126-1, the VM 112-1 initiates (at 220) a network boot using the boot image 120-M to load the OS 144 in the VM 112-1. The loaded OS 144 is based on the OS 122-M included in the boot image 120-M. An example of a network boot is a boot of a boot image from an Internet Small Computer System Interface (iSCSI) storage system. iSCSI is a storage networking standard for accessing a storage system. Another example of a network boot is a boot over a Non-Volatile Memory Express (NVMe) over Fabrics (NVMe-oF) based network.

[0045] Next, the VM 112-1 sends (at 222) an initiate message to the hypervisor 122. The initiate message can include an identifier of the VM 112-1. In some examples, the initiate message is a cloud-initiate message that a VM sends in response to an initial start of the OS 144. In response to the initiate message, the hypervisor 122 sends communication parameters (including the IP address and other communication parameters for the VM 112-1) for use by the OS 144 in network communications. Note that the communication parameters sent (at 216) during the preboot phase may not be available to the OS 144. In addition to the communication parameters, other information may be provided to the VM 112-1 in response to the initiate message, such as any or some combination of the following: encryption keys, user accounts to create or use within an OS, a machine identifier, a hostname, network configuration information, scripts, hardware optimization information, or other information.

[0046] The boot of the VM 112-1 is completed (at 226), and the VM 112-1 is ready to perform workloads requested by the requesting tenant 110-M.

[0047] The VM orchestration service 104 can also monitor (at 228) the VM 112-1 (and any other VM running in the computing environment 102. The monitoring can include the VM orchestration service 104 sending a heartbeat message to the VM 112-1 that prompts the VM 112-1 to respond to the heartbeat message. If the VM 112-1 does not respond within a specified time interval, that is an indication that the VM 112-1 may no longer be available (e.g., the VM 112-1 did not successfully start, the VM 112-1 stopped working, or a communication link with the VM 112-1 is lost). More generally, the VM 112-1 becomes unavailable if a fault has occurred, where the fault can include the VM 112-1 crashing or experiencing an error, a fault of a resource used by the VM 112-1, or a fault of a communication link to the VM 112-1.

[0048] In further examples, the monitoring can include monitoring an operational property of the VM 112-1 and determining whether the operational property satisfies an operational criterion. The operational property can include a performance property, such as communication latency associated with communications with the VM 112-1, a processing performance represented by a number of operations per unit time, a load experienced by the VM 112-1, or another performance property. The monitoring can determine whether the performance property of the VM 112-1 satisfies a performance criterion, such as whether the communication latency is less than a latency threshold, processing performance is greater than a processing threshold, or the load is less than a load threshold.

[0049] Alternatively or additionally, the operational property can include a type of resource assigned to the VM 112-1. For example, different types of processing resources may be assigned to the VM 112-1, such as a central processing unit (CPU), a graphics processing unit (GPU), or another type of processing resource. The monitoring can determine whether the type of processing resource assigned to the VM 112-1 satisfies a processing resource type criterion. For example, the processing resource type criterion may specify that a GPU is to be used, and if the type of processing resource assigned the VM 112-1 is a CPU, then the processing resource type criterion is violated.

[0050] Further, the operational property can include a cost property, and the operational criterion can include a cost criterion. The cost criterion is violated based on a cost of running a VM in a first computing environment exceeding a cost of running the VM in a second computing environment.

[0051] FIG. 3 is a flow diagram of the process of starting a new VM 322 in a different computing environment 304 in response to detecting that a VM 306 in a first computing environment 302 is either unavailable or an operational property of the VM 306 in the first computing environment 302 no longer satisfies an operational criterion. The VM 306 may have been started in the computing environment 302 using the process depicted in FIG. 2.

[0052] The VM orchestration service 104 monitors (at 310) the VM 306, similar to the monitoring performed (at 228) in FIG. 2. The VM orchestration service 104 detects (at 312) a VM degraded condition of the VM 306. The VM degraded condition can include either (1) not receiving a response to a heartbeat message from the VM 306, or (2) an operational property of the VM 306 violates an operational criterion. The following are examples of violations of the operational criterion: a communication latency associated with communications of the VM 306 exceeds a latency threshold, a processing performance of the VM 306 is less than a processing threshold, a load of the VM 306 is greater than a low threshold, the type of processing resource assigned to the VM 306 does not match a target processing resource type, a cost of running a VM in a first computing environment exceeds a cost of running the VM in a second computing environment, or any other criterion.

[0053] In response to detecting the degraded VM condition, the VM orchestration service 104 sends (at 314) a VM create request to a VM startup controller 316 in a hypervisor 318 of the computing environment 304. The VM create request sent (at 314) can be similar to the VM create request sent (at 202) in FIG. 2.

[0054] In response to the VM create request, VM startup tasks are performed (at 320) among the hypervisor 318 (including the VM startup controller 316), the VM 322, a metadata service 324, and the boot image storage system 108. The VM startup tasks can include tasks similar to tasks 204 to 226 in FIG. 2. The metadata service 324 can be the same as or different from the metadata service 106 of FIG. 1.

[0055] In other examples, as part of disaster recovery, instead of starting the new VM 322 in the different computing environment 304 in response to detecting the VM degraded condition (at 312) of the VM 306 in the first computing environment 302, a new VM can be started in the first computing environment 302 using a different boot image (different from the boot image used to start the VM 306 in the first computing environment 302).

[0056] The different boot image may be a backup boot image created at a prior point in time. In some examples, over time, different backup snapshots of a boot image may be taken and stored in a backup boot image storage system. If the VM degraded condition of the VM 306 is detected, a tenant may provide updated boot image metadata to the metadata service 106, where the updated boot image metadata includes a reference to a selected backup snapshot of the boot image. The tenant can then send a start request to the VM orchestration service 104 to start a new VM in the computing environment 302 using the selected backup snapshot of the boot image (according to a process similar to that shown in FIG. 2).

[0057] In further examples, a mechanism can be employed for tracking changed blocks of backup boot images. A "block" refers to a unit of storage that contains a respective portion of stored content. In an example, as a boot image is changed over time, each backup snapshot created of the boot image can store just the changed blocks of the boot image at a respective point in time. Thus, a first backup snapshot at a first point in time includes a first set of changed blocks from a base boot image, a second backup snapshot at a second point in time includes a second set of changed blocks since the first backup snapshot was taken, and so forth. The backup snapshots at different points in time can be stored in the backup boot image storage system. Tracking information (e.g., in the form of a tracking file) can track the changed blocks over time. In some examples, VMWare's Changed Block Tracking (CBT) can be used for maintaining the tracking information. In other examples, other CBT technologies can be used.

[0058] When a given backup snapshot is selected to start a new VM in a computing environment, the tracking information can be employed to piece together the blocks of the version of the boot image corresponding to the given backup snapshot for use in starting the new VM using techniques according to some examples of the present disclosure.

[0059] Further, in some examples, an express restore technique can be used when using a backup boot image to start a new VM in a computing environment. In some cases, a restore process first copies the backup boot image from the backup boot image storage system to a local storage system of the computing environment, before the backup boot image can be used to start the new VM. The restore process can add some latency (the restore time) when starting the new VM, during which workloads of a tenant cannot be performed. The express restore technique allows the new VM to be booted directly from the backup boot image storage system without having to perform the copying of the backup boot image to the local storage system. An example of the express restore technique is provided by the Element Recovery Technology (ERT) from Hewlett Packard Enterprise.

[0060] FIG. 4 is a block diagram of a non-transitory machine-readable or computer-readable storage medium 400 storing machine-readable instructions that upon execution cause a system to perform various tasks. The system can include one or more computers, and the system can be part of a computing environment (e.g., 102 in FIG. 1). In some examples, the machine-readable instructions can be part of a hypervisor that includes a VM startup controller (e.g., the hypervisor 122 including the VM startup controller 114 of FIG. 1). More generally, the machine-readable instructions are part of a computing node startup controller that can start a computing node (e.g., a VM or a physical machine) in the computing environment.

[0061] The machine-readable instructions include bootloader program image information reception instructions 402 to receive, at the system, information of a program image including a bootloader from a computing node management service. The program image has a first image format compatible with the computing environment in which the computing node is to be started. An example of the computing node management service is the VM orchestration service 104 of FIG. 1 to trigger the start of a VM in the computing environment. In another example, the computing node management service can trigger the start of a physical machine in the computing environment. An example of the program image is any one of the initial bootloader images 118-1 to 118-M. The information of a program image can include a reference to the program image that is stored in a bootloader storage system (e.g., 116 in FIG. 1).

[0062] The machine-readable instructions include preboot environment start instructions 404 to start, using the bootloader, a preboot environment in the computing node. The starting of the preboot environment includes loading one or more target components to allow the computing node to perform specific tasks in the preboot environment.

[0063] The machine-readable instructions include metadata service access instructions 406 to access a metadata service (e.g., 106 in FIG. 1) to obtain metadata for a boot image for the computing node. The obtained metadata can be any of the boot image metadata 126-1 to 126-N in FIG. 1, for example.

[0064] The machine-readable instructions include boot image location information obtaining instructions 408 to obtain, at the computing node from the metadata, location information of the boot image available at a storage system outside the computing environment. The boot image has a second image format different from the first image format. The first image format can be a native image format compatible with the computing environment, and the second image format can be a non-native image format.

[0065] The machine-readable instructions include network boot instructions 410 to initiate, based on the location information, a network boot using the boot image at the storage system to boot an OS in the computing node.

[0066] In some examples, the boot image having the second image format is incompatible with the computing environment.

[0067] In some examples, the information of the program image including the bootloader is received from a computing node management service outside the computing environment.

[0068] In some examples, the computing environment is a first computing environment, and the information of the program image including the bootloader is received from the computing node management service responsive to the computing node management service determining that another computing node in a second computing environment is unavailable. The other computing node in the second computing environment may have become unavailable due to occurrence of a fault, such as the other computing node crashing or experiencing an error, a fault of a resource used by the other computing node, or a fault of a communication link to the other computing node, and so forth.

[0069] In some examples, the computing environment is a first computing environment, and the program image including the bootloader is received from the computing node management service responsive to the computing node management service determining that an operational property of a further computing node in a second computing environment violates an operational criterion.

[0070] In some examples, the operational criterion includes a cost criterion, and the cost criterion is violated based on a cost of running the further computing node in the second computing environment exceeding a cost of running the computing node in the first computing environment.

[0071] In some examples, the operational criterion is violated based on an operational property of the further computing node in the second computing environment violating a threshold. The operational property can include a performance property, such as communication latency associated with communications with the computing node, a processing performance represented by a number of operations per unit time, a load experienced by the computing node, or another performance property,

[0072] In some examples, the boot image available at the storage system includes a backup boot image, and the program image including the bootloader is received from the computing node management service as part of a recovery process.

[0073] In some examples, the storage system is a backup storage system, and the network boot is performed from the backup storage system without first recovering the backup boot image to a local storage system of the computing environment (e.g., by using an express restore technique).

[0074] In some examples, the program image includes a PXE image.

[0075] In some examples, the starting of the preboot environment includes loading one or more target components in the computing node, the one or more target components to obtain communication parameters for the computing node to communicate in the preboot environment with another entity, and perform the network boot.

[0076] In some examples, the one or more target components further include system firmware (e.g., BIOS or UEFI firmware) of the computing node.

[0077] FIG. 5 is a block diagram of a system 500 according to some examples of the present disclosure. The system 500 can be implemented using one or more computers.

[0078] The system 500 includes a hardware processor 502 (or multiple hardware processors). A hardware processor can include a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, or another hardware processing circuit.

[0079] The system 500 includes a storage medium 504 storing orchestration instructions executable on the hardware processor 502 to perform various tasks. Machine-readable instructions executable on a hardware processor can refer to the instructions executable on a single hardware processor or the instructions executable on multiple hardware processors.

[0080] The orchestration instructions can be part of the VM orchestration service 104 of FIG. 1, or more generally, part of a computing node management service. The orchestration instructions include first computing node start request instructions 506 to send, to a first computing environment, a first request to start a first computing node in the first computing environment. The first request includes information of a first program image including a bootloader, where the first program image has a first image format compatible with the first computing environment. The first image format can be a native image format for the first computing environment.

[0081] The orchestration instructions include first computing node monitoring instructions 508 to monitor the first computing node started based on the first program image. The starting of the first computing node is based on initiating a preboot environment in the first computing node using the bootloader in the first program image, and performing, by the first computing node with the preboot environment, a network boot using a boot image at a storage system outside the first computing environment, the boot image having a second image format different from the first image format. The second image format can be a non-native image format that is incompatible with the computing environment.

[0082] The orchestration instructions include computing node recovery instructions 510 to, based on detecting a violation of a criterion associated with the first computing node running in the first computing environment, send, to a second computing environment, a second request to start a second computing node in the second computing environment. The second request includes information of a second program image including a bootloader, the second program image having a third image format for the second computing environment, the third image format different from each of the first image format and the second image format. The third image format can be a different non-native image format.

[0083] In some examples, the starting of the second computing node is based on initiating a preboot environment in the second computing node using the bootloader in the second program image, and performing, by the second computing node, a network boot using the boot image at the storage system.

[0084] In some examples, the violation of the criterion includes the first computing node in the first computing environment being unavailable.

[0085] In some examples, the violation of the criterion includes an operational property of the first computing node in the first computing environment violating an operational criterion.

[0086] FIG. 6 is a flow diagram of a process 600 according to some examples of the present disclosure. The process 600 can be performed by a system in a computing environment.

[0087] The process 600 includes receiving (at 602) information of a program image including a bootloader from a compute node management service, the program image having a first image format compatible with the computing environment in which a computing node is to be started. The computing node can include a VM or a physical machine. In some examples, the program image having the first image format is without the OS.

[0088] The process 600 includes providing (at 604) the program image to the computing node. For example, in FIG. 1, the initial bootloader image 118-M is provided by the VM startup controller 114 to the VM 112-1.

[0089] The process 600 includes starting (at 606), using the bootloader of the program image, a preboot environment in the computing node. The starting of the preboot environment can include loading system firmware, a DHCP agent, and a network boot agent in the computing node, for example.

[0090] The process 600 includes accessing (at 608) a metadata service to obtain metadata for a boot image for the computing node.

[0091] The process 600 includes obtaining (at 610), at the computing node from the metadata, location information of the boot image available at a storage system outside the computing environment, where the boot image has a second image format different from the first image format.

[0092] The process 600 includes initiating (at 612), based on the location information, a network boot using the boot image at the storage system to boot an OS in the computing node.

[0093] A "memory" can include one or more memory devices. Examples of memory devices include any or some combination of the following: a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, an erasable and programmable read-only memory (EPROM) device, an electrically erasable and programmable read-only memory (EEPROM) device, or a flash memory device.

[0094] Examples of storage devices can include any or some combination of the following: a disk-based storage device, a solid state storage drive, or another type of storage device.

[0095] FIGS. 2, 3, and 6 are flow diagrams of processes including tasks performed in depicted orders. In other examples, the tasks of any of the processes may be performed in a different order, some of the tasks may be omitted, and other tasks may be added.

[0096] A storage medium (e.g., 400 in FIG. 4 or 504 in FIG. 5) can include any or some combination of the following: a semiconductor memory device such as a DRAM or SRAM device, an EPROM device, an EEPROM device, or a flash memory device; a magnetic disk such as a fixed, floppy and removable disk; another magnetic medium including tape; an optical medium such as a compact disk (CD) or a digital video disk (DVD); or another type of storage device. Note that the instructions discussed above can be provided on one computer-readable or machine-readable storage medium, or alternatively, can be provided on multiple computer-readable or machine-readable storage media distributed in a large system having possibly plural nodes. Such computer-readable or machine-readable storage medium or media is (are) considered to be part of an article (or article of manufacture). An article or article of manufacture can refer to any manufactured single component or multiple components. The storage medium or media can be located either in the machine running the machine-readable instructions, or located at a remote site from which machine-readable instructions can be downloaded over a network for execution.

[0097] In the present disclosure, use of the term "a," "an," or "the" is intended to include the plural forms as well, unless the context clearly indicates otherwise. Also, the term "includes," "including," "comprises," "comprising," "have," or "having" when used in this disclosure specifies the presence of the stated elements, but do not preclude the presence or addition of other elements.

[0098] In the foregoing description, numerous details are set forth to provide an understanding of the subject disclosed herein. However, implementations may be practiced without some of these details. Other implementations may include modifications and variations from the details discussed above. It is intended that the appended claims cover such modifications and variations.

Claims

1. A non-transitory machine-readable storage medium comprising instructions that upon execution cause a system to:receive, at the system, information of a program image comprising a bootloader from a computing node management service, the program image having a first image format compatible with a computing environment in which a computing node is to be started;start, using the bootloader, a preboot environment in the computing node;access a metadata service to obtain metadata for a boot image for the computing node;obtain, at the computing node from the metadata, location information of the boot image available at a storage system outside the computing environment, wherein the boot image has a second image format different from the first image format; andinitiate, based on the location information, a network boot using the boot image at the storage system to boot an operating system (OS) in the computing node.

2. The non-transitory machine-readable storage medium of claim 1, wherein the computing node comprises a virtual machine or a physical machine in the computing environment.

3. The non-transitory machine-readable storage medium of claim 1, wherein the boot image having the second image format is incompatible with the computing environment.

4. The non-transitory machine-readable storage medium of claim 1, wherein the information of the program image comprising the bootloader is received from the computing node management service outside the computing environment.

5. The non-transitory machine-readable storage medium of claim 4, wherein the computing environment is a first computing environment, and wherein the information of the program image comprising the bootloader is received from the computing node management service responsive to the computing node management service determining that another computing node in a second computing environment is unavailable.

6. The non-transitory machine-readable storage medium of claim 4, wherein the computing environment is a first computing environment, and wherein the program image comprising the bootloader is received from the computing node management service responsive to the computing node management service determining that an operational property of a further computing node in a second computing environment violates an operational criterion.

7. The non-transitory machine-readable storage medium of claim 6, wherein the operational criterion comprises a cost criterion, and the cost criterion is violated based on a cost of running the further computing node in the second computing environment exceeding a cost of running the computing node in the first computing environment.

8. The non-transitory machine-readable storage medium of claim 6, wherein the operational criterion is violated based on the operational property associated with running the further computing node in the second computing environment violating a threshold.

9. The non-transitory machine-readable storage medium of claim 1, wherein the boot image available at the storage system comprises a backup boot image, and the program image comprising the bootloader is received from the computing node management service as part of a recovery process.

10. The non-transitory machine-readable storage medium of claim 9, wherein the storage system is a backup storage system, and wherein the network boot is performed from the backup storage system without first recovering the backup boot image to a local storage system of the computing environment.

11. The non-transitory machine-readable storage medium of claim 1, wherein the program image comprising the bootloader comprises a Preboot Execution Environment (PXE) image.

12. The non-transitory machine-readable storage medium of claim 1, wherein the starting of the preboot environment comprises loading one or more target components in the computing node, the one or more target components to obtain communication parameters for the computing node to communicate in the preboot environment with another entity, and perform the network boot.

13. The non-transitory machine-readable storage medium of claim 12, wherein the one or more target components further comprise system firmware of the computing node.

14. A system comprising:a hardware processor; anda non-transitory storage medium storing orchestration instructions executable on the hardware processor to:send, to a first computing environment, a first request to start a first computing node in the first computing environment, the first request comprising information of a first program image including a bootloader, the first program image having a first image format compatible with the first computing environment;monitor the first computing node started based on the first program image, the starting of the first computing node based on:initiating a preboot environment in the first computing node using the bootloader in the first program image, andperforming, by the first computing node with the preboot environment, a network boot using a boot image at a storage system outside the first computing environment, the boot image having a second image format different from the first image format; andbased on detecting a violation of a criterion associated with the first computing node running in the first computing environment, send, to a second computing environment, a second request to start a second computing node in the second computing environment, the second request comprising information of a second program image including a bootloader, the second program image having a third image format for the second computing environment, the third image format different from each of the first image format and the second image format.

15. The system of claim 14, wherein the starting of the second computing node is based on initiating a preboot environment in the second computing node using the bootloader in the second program image, and performing, by the second computing node, a network boot using the boot image at the storage system.

16. The system of claim 14, wherein the violation of the criterion comprises the first computing node in the first computing environment being unavailable.

17. The system of claim 14, wherein the violation of the criterion comprises an operational property of the first computing node in the first computing environment violating an operational criterion.

18. A method comprising:receiving, by a system comprising a hardware processor in a computing environment, information of a program image comprising a bootloader from a computing node management service, the program image having a first image format compatible with the computing environment in which a computing node is to be started;providing, by the system, the program image to the computing node;starting, using the bootloader of the program image, a preboot environment in the computing node;accessing a metadata service to obtain metadata for a boot image for the computing node;obtaining, at the computing node from the metadata, location information of the boot image available at a storage system outside the computing environment, wherein the boot image has a second image format different from the first image format; andinitiating, based on the location information, a network boot using the boot image at the storage system to boot an operating system (OS) in the computing node.

19. The method of claim 18, wherein the program image having the first image format is without the OS.

20. The method of claim 18, wherein the computing environment is a first computing environment, and wherein the information of the program image comprising the bootloader is received from the computing node management service responsive to the computing node management service determining that another computing node in a second computing environment is unavailable or an operational property of a further computing node in the second computing environment violates an operational criterion.