# US 2008/0307414 A1 · Creating a virtual machine image with a software deployment system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307414 A1
- Document ID: US20080307414A1
- Status: Published application
- Kind: A1
- Application number: 11/758,230
- Filed: 2007-06-05
- Published: 2008-12-11
- Earliest claimed: 2007-06-05
- Assignees: International Business Machines Corporation
- Inventors: Bower L. Alpern; Glenn Ammons; Vasanth Bala; Todd W. Mummert; Darrell C. Reimer
- Web page: https://patentgrep.com/patent/US20080307414A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A novel method is disclosed for capturing an installed state of a conventional application and converting the captured state into a virtual application. The novel method starts with a bare machine in a known state, preferably soon after the OS was installed. Installation scripts are used to install one or more software applications along with required components and dependencies. Other artifacts can be added and configured such as files, trees, directories, entries, data, values, among others. These also may include updates to various system databases, such as the Windows registry in which certain metadata is stored. The installed applications are tested and verified to work as desired. Undesired artifacts can be deleted manually or removed by the OS. The state of the virtual machine with the installed applications is captured. The installed applications can be tested on the frozen virtual machine. If the user determines that the installed applications are working properly, a virtual machine image is prepared and then written out. The resulting output is a new populated virtual application container that encapsulates the applications installed and configured by the user. If the user determines that one or more installed applications do not work properly during testing, then the frozen virtual machine can be unfrozen and any deficiencies corrected. The virtual machine image is stored as a launch document and a set of shards. The virtual machine image represents the state of the virtual machine along with the installed applications at the time the preparation virtual machine was frozen.

## Claims

### Claim 1

A method for creating a virtual machine image in a computer system, comprising:
executing a virtual machine monitor to run a virtual machine;
receiving a virtual machine image for execution by said virtual machine monitor;
executing said virtual machine image on said virtual machine monitor;
monitoring changes to said virtual machine in response to a user interaction during execution of said virtual machine; and
using said monitored changes to prepare a new virtual machine image of said virtual machine.

### Claim 2 (depends on 1)

A method as in claim 1, said user interaction comprising the installation of an application on said virtual machine.

### Claim 3 (depends on 1)

A method as in claim 1, said monitored changes comprising changes to the virtual machine monitor.

### Claim 4 (depends on 1)

A method as in claim 1 said virtual machine image further comprising at least a portion of said virtual machine monitor.

### Claim 5 (depends on 1)

A method as in claim 1, said virtual machine image further comprising applications pre-installed on said received virtual machine image.

### Claim 6 (depends on 1)

A method as in claim 1, further comprising determining artifacts for said virtual machine image.

### Claim 7 (depends on 1)

A method as in claim 1, further comprising writing said virtual machine image to a database of shards.

### Claim 8

A method for creating a virtual machine image in a computer system, comprising:
executing a virtual machine monitor to run a virtual machine;
generating an empty preparation virtual machine;
executing said preparation virtual machine on said virtual machine monitor;
installing an application onto said preparation virtual machine;
monitoring changes to said virtual machine in response to a user interaction during execution of said virtual machine; and
creating a virtual machine image of said virtual machine based on said monitored changes.

### Claim 9 (depends on 8)

A method as in claim 8, said virtual machine monitor is executed by a bootstrap program, said bootstrap program receiving an instruction from a launch document.

### Claim 10 (depends on 8)

A method as in claim 8, further comprising generating a preparation document containing information relative to said installed application.

### Claim 11 (depends on 8)

A method as in claim 8, further comprising generating a plurality of shards and writing said shards to a database.

### Claim 12 (depends on 8)

A method as in claim 8, further comprising creating a new manifest from said gathered information and generating a plurality of shards and writing said shards to a database.

### Claim 13 (depends on 8)

A method as in claim 8, generating an empty preparation virtual machine comprising:
traversing variables of said virtual machine;
rendering objects encountered during said traversing as shards;
storing said rendered shards in a database;
creating a manifest which maps the said objects to a set of identifiers associated with said shards; and
creating at least one launch document for each application installed on said virtual machine.

### Claim 14

A computer system for creating a virtual machine image, comprising:
a memory;
a data storage medium;
a processor in communication with said memory and said data storage medium, executing an operating system (OS), said OS executing a virtual machine monitor; and
a machine readable medium containing an instruction set executable by said processor, said instruction set comprising:
receiving a virtual machine image for execution by said virtual machine monitor;
executing said virtual machine image on said virtual machine monitor;
monitoring changes to said virtual machine in response to a user interaction during execution of said virtual machine; and
using said monitored changes to prepare a new virtual machine image of said virtual machine.

### Claim 15 (depends on 14)

A computer system as in claim 14, said user interaction comprising the installation of an application on said virtual machine.

### Claim 16 (depends on 14)

A computer system as in claim 14, said virtual machine image further comprising at least a portion of said virtual machine monitor.

### Claim 17 (depends on 14)

A computer system as in claim 14, further comprising writing said virtual machine image to a database of shards.

### Claim 18

A machine readable medium containing an instruction set executable by a computer system for creating a virtual machine image, said instruction set comprising:
executing a virtual machine monitor to run a virtual machine;
generating an empty preparation virtual machine;
executing said preparation virtual machine on said virtual machine monitor;
installing an application onto said preparation virtual machine;
monitoring changes to said virtual machine in response to a user interaction during execution of said virtual machine; and
creating a virtual machine image of said virtual machine based on said monitored changes.

### Claim 19 (depends on 18)

A machine readable medium as in claim 18, generating an empty preparation virtual machine comprising:
traversing at least one of a file system, registry keys, or environment variables of said virtual machine;
rendering objects encountered during said traversing as shards;
storing said shards in a database of shards;
creating a manifest which maps the hierarchical names of said objects to a set of identifiers associated with said shards for said objects; and
creating one or more launch documents for applications contained in said virtual machine.

### Claim 20 (depends on 18)

A machine readable medium as in claim 18, further comprising writing said virtual machine image to said database of shards.
