Updating operating system images of inactive compute instances
AssigneeRed Hat Israel, Ltd.
InventorsDavid Sariel, Arie Bregman
Life of this patent
Estimating the term…
Abstract
Updating inactive compute instances is disclosed. It is determined that a first compute instance that boots from an operating system image on a first storage device is in an inactive state. It is determined that updates to the operating system image on the first storage device exist. The operating system image is copied from the first storage device to a second storage device. The operating system image on the second storage device is updated with the updates to generate an updated operating system image on the second storage device. The updated operating system image is copied form the second storage device to the first storage device in place of the operating system image.
Claims20
A method comprising:
- iteratively scanning, by a computing device, a data structure that identifies a plurality of compute instances and a corresponding state of the compute instances, the state of each compute instance comprising one of an inactive state that indicates an operating system (OS) of the corresponding compute instance may be updated and an active state that indicates the OS of the corresponding compute instance may not be updated;
- determining, by the computing device based on the data structure, that a first compute instance that boots from an operating system image on a first storage device is in the inactive state;
- determining, by the computing device, that updates to the operating system image on the first storage device exist;
- copying, by the computing device, the operating system image from the first storage device to a second storage device;
- updating, by the computing device, the operating system image on the second storage device with the updates to generate an updated operating system image on the second storage device;
- and
- copying, by the computing device, the updated operating system image from the second storage device to the first storage device in place of the operating system image.
A computing device, comprising:
- a memory;
- and
- a processor device coupled to the memory to:
- iteratively scan a data structure that identifies a plurality of compute instances and a corresponding state of the compute instances, the state of each compute instance comprising one of an inactive state that indicates an operating system (OS) of the corresponding compute instance may be updated and an active state that indicates the OS of the corresponding compute instance may not be updated;
- determine, based on the data structure, that a first compute instance that boots from an operating system image on a first storage device is in an inactive state;
- determine that updates to the operating system image on the first storage device exist;
- copy the operating system image from the first storage device to a second storage device;
- update the operating system image on the second storage device with the updates to generate an updated operating system image on the second storage device;
- and
- copy the updated operating system image from the second storage device to the first storage device in place of the operating system image.
A non-transitory computer program product stored on a computer-readable storage medium and including instructions configured to cause a processor device to:
- iteratively scan a data structure that identifies a plurality of compute instances and a corresponding state of the compute instances, the state of each compute instance comprising one of an inactive state that indicates an operating system (OS) of the corresponding compute instance may be updated and an active state that indicates the OS of the corresponding compute instance may not be updated;
- determine, based on the data structure, that a first compute instance that boots from an operating system image on a first storage device is in an inactive state;
- determine that updates to the operating system image on the first storage device exist;
- copy the operating system image from the first storage device to a second storage device;
- update the operating system image on the second storage device with the updates to generate an updated operating system image on the second storage device;
- and
- copy the updated operating system image from the second storage device to the first storage device in place of the operating system image.
Dependencies are inferred from the claim text.