Techniques for virtual machine migration
First Claim
1. A computer-implemented method, comprising:
- retrieving information regarding a source virtual machine provided by a source hypervisor and a destination virtual machine provided by a destination hypervisor;
using the retrieved information to generate a first script for migrating a guest operating system executed at the source virtual machine to the destination virtual machine;
wherein the first script is generated by an application using script elements with assignable template variable values for performing a plurality of tasks for migrating the guest operating system;
determining that the source virtual machine is accessible to automated commands;
executing the first script in the guest operating system running on the source virtual machine, the first script collecting configuration information of the guest operating system based on current guest operating system configuration and by querying the guest operating system and configuration files of the guest operating system;
generating a second script by the first script based on the collected configuration information using script elements specific to a source hypervisor type and a destination hypervisor type; and
executing the second script in the guest operating system running on the destination virtual machine, the second script reconfiguring the guest operating system using reconfiguration commands that are encoded by the first script, to run the guest operating system on the destination virtual machine;
wherein the source hypervisor and destination hypervisor differ in hardware virtualization as to prevent the guest operating system from making full use of the destination virtual machine without reconfiguration.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for virtual machine migration are described. An apparatus may comprise a script generation component operative to generate a first script, the first script to migrate a guest operating system running on a first virtual machine to run on a second virtual machine. The first script may be operative to collect configuration information of the guest operating system, generate a second script based on the collected configuration information, and configure the guest operating system to execute the second script, the configuration information collected while the guest operating system is running on the first virtual machine, the guest operating system configured for the execution of the second script to occur while the guest operating system is running on the second virtual machine. Other embodiments are described and claimed.
108 Citations
21 Claims
-
1. A computer-implemented method, comprising:
-
retrieving information regarding a source virtual machine provided by a source hypervisor and a destination virtual machine provided by a destination hypervisor; using the retrieved information to generate a first script for migrating a guest operating system executed at the source virtual machine to the destination virtual machine;
wherein the first script is generated by an application using script elements with assignable template variable values for performing a plurality of tasks for migrating the guest operating system;determining that the source virtual machine is accessible to automated commands; executing the first script in the guest operating system running on the source virtual machine, the first script collecting configuration information of the guest operating system based on current guest operating system configuration and by querying the guest operating system and configuration files of the guest operating system; generating a second script by the first script based on the collected configuration information using script elements specific to a source hypervisor type and a destination hypervisor type; and executing the second script in the guest operating system running on the destination virtual machine, the second script reconfiguring the guest operating system using reconfiguration commands that are encoded by the first script, to run the guest operating system on the destination virtual machine;
wherein the source hypervisor and destination hypervisor differ in hardware virtualization as to prevent the guest operating system from making full use of the destination virtual machine without reconfiguration. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus, comprising:
- a processor circuit on a device;
a script generation component operative on the processor circuit to generate a first script, the first script to migrate a guest operating system running on a source virtual machine to run on a destination virtual machine;
wherein information regarding the source virtual machine provided by a source hypervisor and the destination virtual machine provided by a destination hypervisor is retrieved and the script generation component uses the retrieved information to generate the first script with assignable template variable values for performing a plurality of tasks for migrating the guest operating system;the first script operative to collect configuration information of the guest operating system by querying the guest operating system and configuration files of the guest operating system, generate a second script based on the collected configuration information using script elements specific to a source hypervisor type and a destination hypervisor type, and configure the guest operating system to execute the second script, the configuration information collected while the guest operating system is running on the source virtual machine, the guest operating system configured for the execution of the second script to occur while the guest operating system is running on the destination virtual machine using reconfiguration commands that are encoded by the first script;
wherein the source hypervisor and destination hypervisor differ in hardware virtualization as to prevent the guest operating system from making full use of the destination virtual machine without reconfiguration. - View Dependent Claims (9, 10, 11, 12, 13)
- a processor circuit on a device;
-
14. At least one non-transitory computer-readable storage medium comprising instructions that, when executed, cause a system to:
-
retrieve information regarding a source virtual machine provided by a source hypervisor and a destination virtual machine provided by a destination hypervisor; use the retrieved information to generate a first script for migrating a guest operating system executed at the source virtual machine to the destination virtual machine;
wherein the first script is generated by an application using script elements with assignable template variable values for performing a plurality of tasks for migrating the guest operating system;determine that the source virtual machine is accessible to automated commands; execute the first script in the guest operating system running on the source virtual machine, the first script collecting configuration information of the guest operating system based on current guest operating system configuration and by querying the guest operating system and configuration files of the guest operating system and generating a second script based on the collected configuration information using script elements specific to a source hypervisor type and a destination hypervisor type; and execute the second script in the guest operating system running on the destination virtual machine, the second script reconfiguring the guest operating system using reconfiguration commands that are encoded by the first script to run the guest operating system on the destination virtual machine;
wherein the source hypervisor and destination hypervisor differ in hardware virtualization as to prevent the guest operating system from making full use of the destination virtual machine without reconfiguration. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A computer-implemented method, comprising:
-
retrieving information regarding a source virtual machine provided by a source hypervisor and a destination virtual machine provided by a destination hypervisor; using the retrieved information to generate a first script for migrating a guest operating system executed at the source virtual machine to the destination virtual machine;
wherein the first script is generated by an application using script elements with assignable template variable values for performing a plurality of tasks for migrating the guest operating system;determining that the source virtual machine is accessible to automated commands; executing the first script in the guest operating system running on the source virtual machine, the first script collecting configuration information of the guest operating system based on current guest operating system configuration and by querying the guest operating system and configuration files of the guest operating system; generating a second script by the first script based on the collected configuration information using script elements specific to a source hypervisor type and a destination hypervisor type; and
executing the second script in the guest operating system running on the destination virtual machine, the second script reconfiguring the guest operating system using reconfiguration commands that are encoded by the first script, to run the guest operating system on the destination virtual machine;wherein the configuration information collected comprising a mapping between one or more network interfaces of the source virtual machine and media access control addresses assigned to the one or more network interfaces of the source virtual machine, wherein the second script reconfigures the guest operating system by creating associations between the guest operating system and one or more network interfaces of the destination virtual machine based on the mapping.
-
Specification