Determining status of migrating virtual machines
First Claim
Patent Images
1. A computer-implemented method comprising:
- initiating a migration of one or more virtual machines from a source host that is located at a source site to a destination host that is located at a destination site;
determining that a fault has occurred during the migration of the one or more virtual machines, the fault resulting in the source host becoming unavailable;
in response to determining that the fault has occurred, determining, while the source host is unavailable and for each virtual machine of the one or more virtual machines, whether the virtual machine has been fully migrated from the source host to the destination host, the determining comprising;
determining whether a migration started record has been stored at the destination site for the virtual machine, the migration started record being a record that is stored prior to migrating the virtual machine;
in response to determining that the migration started record has been stored at the destination site, determining whether a placeholder virtual machine that has a unique identifier that matches a unique identifier for the virtual machine has been created at the destination site;
in response to determining that the placeholder virtual machine has been created at the destination site, determining whether the placeholder virtual machine has an associated migration completed event, the migration completed event being an event associated with the placeholder virtual machine in response to migration of the virtual machine being completed; and
in response to determining that the placeholder virtual machine has an associated migration completed event, determining that the virtual machine has been fully migrated from the source host to the destination host.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems and techniques are described for determining the status of migrating virtual machines. A described technique includes initiating a migration of one or more virtual machines from a source host that is located at a source site to a destination host that is located at a destination site. A determination is made that a fault has occurred during the migration of the one or more virtual machines. In response to determining that the error has occurred, a determination is made, for each virtual machine of the one or more virtual machines, whether the virtual machine has been fully migrated from the source host to the destination host.
15 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
initiating a migration of one or more virtual machines from a source host that is located at a source site to a destination host that is located at a destination site; determining that a fault has occurred during the migration of the one or more virtual machines, the fault resulting in the source host becoming unavailable; in response to determining that the fault has occurred, determining, while the source host is unavailable and for each virtual machine of the one or more virtual machines, whether the virtual machine has been fully migrated from the source host to the destination host, the determining comprising; determining whether a migration started record has been stored at the destination site for the virtual machine, the migration started record being a record that is stored prior to migrating the virtual machine; in response to determining that the migration started record has been stored at the destination site, determining whether a placeholder virtual machine that has a unique identifier that matches a unique identifier for the virtual machine has been created at the destination site; in response to determining that the placeholder virtual machine has been created at the destination site, determining whether the placeholder virtual machine has an associated migration completed event, the migration completed event being an event associated with the placeholder virtual machine in response to migration of the virtual machine being completed; and in response to determining that the placeholder virtual machine has an associated migration completed event, determining that the virtual machine has been fully migrated from the source host to the destination host. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a data processing apparatus; and a computer storage medium in data communication with the data processing apparatus and storing instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising; initiating a migration of one or more virtual machines from a source host that is located at a source site to a destination host that is located at a destination site; determining that a fault has occurred during the migration of the one or more virtual machines, the fault resulting in the source host becoming unavailable; in response to determining that the fault has occurred, determining, while the source host is unavailable and for each virtual machine of the one or more virtual machines, whether the virtual machine has been fully migrated from the source host to the destination host, the determining comprising; determining whether a migration started record has been stored at the destination site for the virtual machine, the migration started record being a record that is stored prior to migrating the virtual machine; in response to determining that the migration started record has been stored at the destination site, determining whether a placeholder virtual machine that has a unique identifier that matches a unique identifier for the virtual machine has been created at the destination site; in response to determining that the placeholder virtual machine has been created at the destination site, determining whether the placeholder virtual machine has an associated migration completed event, the migration completed event being an event associated with the placeholder virtual machine in response to migration of the virtual machine being completed; and in response to determining that the placeholder virtual machine has an associated migration completed event, determining that the virtual machine has been fully migrated from the source host to the destination host. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
initiating a migration of one or more virtual machines from a source host that is located at a source site to a destination host that is located at a destination site; determining that a fault has occurred during the migration of the one or more virtual machines, the fault resulting in the source host becoming unavailable; in response to determining that the fault has occurred, determining, while the source host is unavailable and for each virtual machine of the one or more virtual machines, whether the virtual machine has been fully migrated from the source host to the destination host, the determining comprising; determining whether a migration started record has been stored at the destination site for the virtual machine, the migration started record being a record that is stored prior to migrating the virtual machine; in response to determining that the migration started record has been stored at the destination site, determining whether a placeholder virtual machine that has a unique identifier that matches a unique identifier for the virtual machine has been created at the destination site; in response to determining that the placeholder virtual machine has been created at the destination site, determining whether the placeholder virtual machine has an associated migration completed event, the migration completed event being an event associated with the placeholder virtual machine in response to migration of the virtual machine being completed; and in response to determining that the placeholder virtual machine has an associated migration completed event, determining that the virtual machine has been fully migrated from the source host to the destination host. - View Dependent Claims (19, 20)
-
Specification