Back to results
US 9,792,150 B1Granted
Detecting site change for migrated virtual machines
AssigneeVeritas Technologies LLC
InventorsAmit Haridas Rangari, Udipta Das
Life of this patent
Estimating the term…
Abstract
Various systems and methods for detecting a site change. For example, one method involves detecting migration of a virtual machine. The method also involves determining whether the virtual machine moved from one site to another site during the migration. The method also involves updating location information, where the location information is updated in response to determining whether the virtual machine moved from one site to another.
Claims21
A computer-implemented method comprising:
- receiving, by an application executing on a virtual machine, a first notice that a virtual machine will be potentially migrated;
- determining, by the application, whether or not the first notice of the potential migration indicates that the potential migration moves the virtual machine from a first site to a second site;
- if the application determines the first notice does not indicate the potential migration moves from a first site to a second site,
- initiating, by the application, a site rediscovery process,
- suspending, by the application, I/O operations of the application,
- receiving, by the application, a second notice from the virtual machine that the site rediscovery process is complete, wherein the second notice includes information corresponding to a site that will host the virtual machine, wherein the hosting site is one of a plurality of sites including the first and second sites, and
- determining, by the application based on the second notice, whether the potential migration moves the virtual machine from the first site to the second site by comparing application configuration information stored within the application to the information in the second notice, wherein the application configuration information comprises site affinity information, a failover site, and a storage resource;
- migrating the virtual machine from the first site to the second site;
- responsive to migrating the virtual machine from the first site to the second site,
- updating, by the application, the application configuration information to reflect new site affinity information, a new failover site, and a new storage resource, and
- resuming, by the application, I/O operations at the second site;
- and
- responsive to a failure of the virtual machine, resuming execution of the application in a new virtual machine on a different site corresponding to the new failover site in the application configuration information.
10 more elements
A non-transitory computer readable storage medium storing program instructions executable to:
- receive, by an application executing on a virtual machine, a first notice that a virtual machine will be potentially migrated;
- determine, by the application, whether or not the first notice of the potential migration indicates that the potential migration moves the virtual machine from a first site to a second site;
- if the application determines the first notice does not indicate the potential migration moves from a first site to a second site,
- initiating, by the application, a site rediscovery process,
- suspending, by the application, I/O operations of the application,
- receiving, by the application, a second notice from the virtual machine that the site rediscovery process is complete, wherein the second notice includes information corresponding to a site that will host the virtual machine, wherein the hosting site is one of a plurality of sites including the first and second sites, and
- determining, by the application based on the second notice, whether the potential migration moves the virtual machine from the first site to the second site by comparing application configuration information stored within the application to the information in the second notice, wherein the application configuration information comprises site affinity information, a failover site, and a storage resource;
- migrating the virtual machine from the first site to the second site;
- responsive to migrating the virtual machine from the first site to the second site,
- updating, by the application, the application configuration information to reflect new site affinity information, a new failover site, and a new storage resource, and
- resuming, by the application, I/O operations at the second site;
- and
- responsive to a failure of the virtual machine, resuming execution of the application in a new virtual machine on a different site corresponding to the new failover site in the application configuration information.
10 more elements
A system comprising:
- one or more processors;
- and
- a memory coupled to the one or more processors, wherein the memory stores program instructions executable by the one or more processors to:
- receive, by an application executing on a virtual machine, a first notice that a virtual machine will be potentially migrated;
- determine, by the application, whether or not the first notice of the potential migration indicates that the potential migration moves the virtual machine from a first site to a second site;
- if the application determines the first notice does not indicate the potential migration moves from a first site to a second site,
- initiating, by the application, a site rediscovery process,
- suspending, by the application, I/O operations of the application,
- receiving, by the application, a second notice from the virtual machine that the site rediscovery process is complete, wherein the second notice includes information corresponding to a site that will host the virtual machine, wherein the hosting site is one of a plurality of sites including the first and second sites, and
- determining, by the application based on the second notice, whether the potential migration moves the virtual machine from the first site to the second site by comparing application configuration information stored within the application to the information in the second notice, wherein the application configuration information comprises site affinity information, a failover site, and a storage resource;
- migrating the virtual machine from the first site to the second site;
- responsive to migrating the virtual machine from the first site to the second site,
- updating, by the application, the application configuration information to reflect new site affinity information, a new failover site, and a new storage resource, and
- resuming, by the application, I/O operations at the second site;
- and
- responsive to a failure of the virtual machine, resuming execution of the application in a new virtual machine on a different site corresponding to the new failover site in the application configuration information.
13 more elements
Dependencies are inferred from the claim text.