Application migration in a process virtual machine environment
AssigneeRed Hat, Inc.
InventorsMartin Vecera, Jiri Pechanec
Life of this patent
Estimating the term…
Abstract
A mechanism for migrating an application in a process virtual machine environment. A method includes pausing execution of an application in a source process virtual machine (PVM). The method also includes recording a state of the source PVM at a time of the pausing of the execution of the application. The method further includes copying the recorded state of the source PVM into a destination PVM, wherein the destination PVM resumes the execution of the application using the recorded state.
Claims20
A method, comprising:
- pausing, by a processing device, an execution of an application in a source process virtual machine (PVM) among a plurality of PVMs;
- recording, by the processing device, a state of the source PVM at a time of the pausing of the execution of the application;
- selecting, by the processing device, a destination PVM among the plurality of PVMs in view of an availability of amount of utilization of each of the plurality of PVMs;
- and
- copying, by the processing device, the recorded state of the source PVM into the selected destination PVM, wherein the selected destination PVM resumes the execution of the application using the recorded state.
A system, comprising:
- a memory;
- a processing device operatively coupled to the processing device to:
- pause an execution of an application in a source process virtual machine (PVM) among a plurality of PVMs;
- record a state of the source PVM at a time of the pausing of the execution of the application;
- select a destination PVM among the plurality of PVMs in view of an availability of amount of utilization of each of the plurality of PVMs;
- and
- copy the recorded state of the source PVM into the selected destination PVM,
- wherein the selected destination PVM resumes the execution of the application using the recorded state.
A non-transitory machine-readable storage medium comprising instructions that, when accessed by a processing device, cause the processing device to:
- pause, by the processing device, an execution of an application in a source process virtual machine (PVM) among a plurality of PVMs;
- record, by the processing device, a state of the source PVM at a time of the pausing of the execution of the application;
- select, by the processing device, a destination PVM among the plurality of PVMs in view of an availability of amount of utilization of each of the plurality of PVMs;
- and
- copy, by the processing device, the recorded state of the source PVM into the selected destination PVM, wherein the selected destination PVM resumes the execution of the application using the recorded state.
The non-transitory machine-readable storage medium 15, wherein the processing device is to create a process in the selected destination PVM.
The non-transitory machine-readable storage medium 16, wherein the created process executes the application in the selected destination PVM in view of the copied recorded state of the source PVM.
The non-transitory machine-readable storage medium 17, wherein the execution of the paused application in the source PVM is resumed by the application in the selected destination PVM.
The non-transitory machine-readable storage medium 18, wherein the processing device is to destroy the source PVM upon determining that the application in the selected destination PVM is executing from the recorded state of the source PVM.
The non-transitory machine-readable storage medium 15, wherein the application is a Java™ programming language application, and wherein the source and selected destination PVMs are Java™ virtual machines (JVMs).
Dependencies are inferred from the claim text.