Patent ID: 9350800
Filing Date: 2016-05-24
CPC Classification: H04L

Claim Text:
1. In a distributed computing environment, a method of defragmenting a cluster service to service additional capacity requests on the cluster service, the method comprising: determining an amount of server resources needed for an additional deployment reservation request for a new deployment or increasing reservation of resources of an existing deployment; determining a server that currently does not have capacity to service the additional deployment reservation request; determining how resources on the server can be freed up by moving one or more replicas of other deployments on the server to other servers to allow the server to service the additional deployment reservation request; and moving at least one replica of the one or more replicas of the other deployments on the server to at least one of the other servers, based on determining the server fails to have capacity to service the additional deployment reservation request, and to allow the server to service the additional deployment reservation request, wherein the at least one replica is moved to the at least one of the other servers that is determined to be on at least one of a different upgrade domain or a different fault domain than another replica of a same deployment as the at least one replica.