Scale and performance for persistent containers using SCSI second level addressing to map storage volume to host of container environment, wherein said storage volume is scanned at said SCSI second level addressing without rescanning at OS level virtualization
AssigneeInternational Business Machines Corporation
InventorsAmalia Avraham, Shay Berman, Ran Harel, Rivka M. Matosevich
Life of this patent
Estimating the term…
Abstract
A computer-implemented method according to one embodiment includes identifying a host within a container environment, and mapping a volume of a container to the host within the container environment, utilizing small computer system interface (SCSI) second level addressing.
Claims12
A computer-implemented method, comprising:
- identifying a storage volume implemented within a storage device;
- mapping the storage volume to a host within a container environment, utilizing small computer system interface (SCSI) second level addressing, where:
- the host includes a container engine that implements and manages a plurality of containers within an operating system (OS) level virtualization,
- the plurality of containers each includes application code encapsulated with a runtime environment, system tools, and system libraries,
- mapping the storage volume to the host includes specifying a location of data of the storage volume to the host by mounting the storage volume as a file system within one of the plurality of containers during a startup of the container, and
- the SCSI second level addressing includes a translation, by the host, of a virtual memory address to a pseudo physical memory address, and a translation, by the host, of the pseudo physical memory address to a machine physical memory address within the container environment;
- and
- in response to the mapping, automatically scanning the storage volume utilizing the SCSI second level addressing without rescanning the storage volume at the OS level virtualization.
A computer program product for improving scale and performance for persistent containers using SCSI second level addressing, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
- identifying a storage volume implemented within a storage device, utilizing the processor;
- mapping, utilizing the processor, the storage volume to a host within a container environment, utilizing the SCSI second level addressing, where:
- the host includes a container engine that implements and manages a plurality of containers within an operating system (OS) level virtualization,
- the plurality of containers each includes application code encapsulated with a runtime environment, system tools, and system libraries,
- mapping the storage volume to the host includes specifying a location of data of the storage volume to the host by mounting the storage volume as a file system within one of the plurality of containers during a startup of the container, and
- the SCSI second level addressing includes a translation, by the host, of a virtual memory address to a pseudo physical memory address, and a translation, by the host, of the pseudo physical memory address to a machine physical memory address within the container environment;
- and
- in response to the mapping, automatically scanning the storage volume utilizing the processor and the SCSI second level addressing without rescanning the storage volume at the OS level virtualization.
A system, comprising:
- a processor;
- and
- logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
- identify a storage volume implemented within a storage device;
- map the storage volume to a host within a container environment, utilizing SCSI second level addressing, where:
- the host includes a container engine that implements and manages a plurality of containers within an operating system (OS) level virtualization,
- the plurality of containers each includes application code encapsulated with a runtime environment, system tools, and system libraries,
- mapping the storage volume to the host includes specifying a location of data of the storage volume to the host by mounting the storage volume as a file system within one of the plurality of containers during a startup of the container, and
- the SCSI second level addressing includes a translation, by the host, of a virtual memory address to a pseudo physical memory address, and a translation, by the host, of the pseudo physical memory address to a machine physical memory address within the container environment;
- and
- in response to the mapping, automatically scan the storage volume utilizing the SCSI second level addressing without rescanning the storage volume at the OS level virtualization.
Dependencies are inferred from the claim text.