Capturing Multi-Disk Virtual Machine Images Automatically
AssigneeInternational Business Machines Corporation
InventorsShamsundar Ashok, Daniel F. De Araujo, Daniel N. Nguyen, Minh Nguyen
Life of this patent
Estimating the term…
Abstract
A plurality of virtual disk images are established on a virtual machine. The virtual machine identifies corresponding network address translations for a plurality of disks, each having a corresponding plurality of data sets. The virtual machine installs the corresponding plurality of data sets to the plurality of virtual disks using the corresponding network address translations. An image of the plurality of disks is created, wherein the image contains the plurality of virtual disks with the plurality of data sets.
Claims20
A computer implemented method implemented by a processor, the computer implemented method comprising:
- establishing a plurality of virtual disk images on a virtual machine;
- identifying, by the virtual machine, corresponding network address translations for a plurality of disks, each having a corresponding plurality of data sets;
- installing, using the virtual machine, the corresponding plurality of data sets to the plurality of virtual disks using the corresponding network address translations;
- and
- creating an image of the plurality of disks, wherein the image contains the plurality of virtual disks with the plurality of data sets.
A computer implemented method implemented by a processor, the computer implemented method comprising:
- receiving a selection of software to be installed on a virtual machine, wherein the selection of software relates to a first disk and a second disk;
- bundling the selection of software;
- distributing the bundle to a host;
- parsing the bundle at the host;
- creating a first virtual disk and a second virtual disk consistent with the selection of software;
- gathering media to be installed on a virtual machine to include the first virtual disk and the second virtual disk;
- creating an installable image which is writable to a computer readable medium;
- invoking a command to boot the virtual machine with the installable image;
- setting up a network address translation on a host operating system such that any request to a specified port will be forwarded to the virtual machine and such that information related to the first disk can be forwarded to a first image of the first disk, and such that information related to the second disk can be forwarded to a second image of the second disk;
- formatting the first virtual disk and the second virtual disk;
- installing the image to the virtual machine such that the first virtual disk represents a first image of the first disk and the second virtual disk represents a second image of the second disk;
- creating a tarball comprising the first virtual disk and the second virtual disk;
- and
- storing the tarball on a computer readable medium.
A computer program product comprising:
- a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
- computer readable program code for receiving a selection of software to be installed on a virtual machine, wherein the selection of software relates to a first disk and a second disk;
- computer readable program code for bundling the selection of software;
- computer readable program code for distributing the bundle to a host;
- computer readable program code for parsing the bundle at the host;
- computer readable program code for creating a first virtual disk and a second virtual disk consistent with the selection of software;
- computer readable program code for gathering media to be installed on a virtual machine to include the first virtual disk and the second virtual disk;
- computer readable program code for creating an installable image which is writable to a computer readable medium;
- computer readable program code for invoking a command to boot the virtual machine with the installable image;
- computer readable program code for setting up a network address translation on a host operating system such that any request to a specified port will be forwarded to the virtual machine and such that information related to the first disk can be forwarded to a first image of the first disk, and such that information related to the second disk can be forwarded to a second image of the second disk;
- computer readable program code for formatting the first virtual disk and the second virtual disk;
- computer readable program code for installing the image to the virtual machine such that the first virtual disk represents a first image of the first disk and the second virtual disk represents a second image of the second disk;
- computer readable program code for creating a tarball comprising the first virtual disk and the second virtual disk;
- and
- computer readable program code for storing the tarball on a computer readable medium.
Dependencies are inferred from the claim text.