# US 2014/0195687 A1 · Service Migration across Cluster Boundaries

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

- Number: US 2014/0195687 A1
- Document ID: US20140195687A1
- Status: Published application
- Kind: A1
- Application number: 13/737,745
- Filed: 2013-01-09
- Published: 2014-07-10
- Earliest claimed: 2013-01-09
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Sushant Pramod Rewaskar; Muhammad Umer Azad; Saad Syed; Christopher Paul Almida; Ajay Mani
- Web page: https://patentgrep.com/patent/US20140195687A1

## CPC

- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- H04L 61/4511: using domain name system [DNS]
- H04L 61/5076: Update or notification mechanisms, e.g. DynDNS
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments provide migration of services across different clusters to balance utilization and meet customer demands. Different service migration options may be performed with or without downtime. The artifacts of the service are moved to a new destination cluster. The service is created on the new destination cluster and staged so that the service is almost ready to start. In one embodiment, the service is stopped on the old cluster and started on the new cluster. After stopping the service, DNS is updated to point to the service on the new cluster. In another embodiment, the service is stopped on the old cluster and started on the new cluster with the same IP address to avoid DNS reprogramming and associated delays. In a further embodiment, the migration is performed without downtime by moving the service part by part from one cluster to another.

## Claims

### Claim 1

In a computing environment where resources are distributed, a method of migrating services among resources in the computing environment, the method comprising:
copying artifacts for a service running on a first cluster in the computing environment, the first cluster comprising a first group of virtual machines;
creating the service on a second cluster in the computing environment using the artifacts, the second cluster comprising a second group of virtual machines;
stopping the service on the first cluster;
starting the service on the second cluster; and
deleting the service on the first cluster.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
assigning an IP address to the service on the second cluster; and
updating a network location service to associate the service with the IP address on the second cluster.

### Claim 3 (depends on 2)

The method of claim 2, wherein the network location service is a Domain Name System (DNS).

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
after stopping the service on the first cluster, removing an IP address associated with the service from the first cluster; and
assigning the IP address to the service on the second cluster.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
staging the service on the second cluster so that the service is ready to run but is not started.

### Claim 6 (depends on 1)

The method of claim 1, wherein the copied artifacts comprise one or more of code, certificates, and models.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first cluster and the second cluster are located within a datacenter.

### Claim 8 (depends on 1)

The method of claim 1, wherein a tenant migrator performs the copying, creating, stopping, starting, and deleting steps.

### Claim 9

A computer-implemented method, comprising:
copying artifacts for a service running on a first cluster in a computing environment, the first cluster comprising a first group of virtual machines;
creating the service on a second cluster in the computing environment using the artifacts, the second cluster comprising a second group of virtual machines;
stopping a selected part of the service on the first cluster;
starting a corresponding selected part of the service on the second cluster;
performing the stopping and starting steps two or more times until all parts of the selected service have been stopped on the first cluster and all corresponding parts of the service have been started on the second cluster; and
deleting the service on the first cluster.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
assigning an IP address to the service; and
supporting the service simultaneously on both the first cluster and the second cluster using the IP address.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
after creating the service on the second cluster, staging the service so that the service is ready to run on the second cluster but is not started.

### Claim 12 (depends on 9)

The method of claim 9, wherein the copied artifacts comprise one or more of code, certificates, and models.

### Claim 13 (depends on 9)

The method of claim 9, wherein a tenant migrator manages stopping the selected part and starting the corresponding selected part.

### Claim 14 (depends on 9)

The method of claim 9, wherein the first cluster and the second cluster are located within a datacenter.

### Claim 15

A computer program product for implementing a method for migrating services from a first cluster to a second cluster within a datacenter, the computer program product comprising one or more computer-readable storage media having stored thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to perform the method comprising:
copying artifacts for a service running on the first cluster;
creating the service on the second cluster;
stopping a selected part of the service on the first cluster;
starting a corresponding selected part of the service on the second cluster; and
deleting the service on the first cluster.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
performing the stopping and starting steps two or more times until all parts of the selected service have been stopped on the first cluster and all corresponding parts of the service have been started on the second cluster;

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the selected part and the corresponding selected part correspond to the entire service so that the entire service is stopped on the first cluster and the entire service is started on the second cluster.

### Claim 18 (depends on 17)

The computer program product of claim 17, further comprising:
assigning an IP address to the service on the second cluster; and
updating a Domain Name System (DNS) to associate the service with the IP address on the second cluster.

### Claim 19 (depends on 17)

The computer program product of claim 17, further comprising:
after stopping the service on the first cluster, removing an IP address associated with the service from the first cluster; and
assigning the IP address to the service on the second cluster.

### Claim 20 (depends on 15)

The computer program product of claim 15, further comprising:
assigning an IP address to the service; and
supporting the service simultaneously on both the first cluster and the second cluster using the IP address.
