Systems and methods for automated service migration
First Claim
1. A system for automatically migrating an unratable service in a server cluster, comprising:
- a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service;
a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service;
a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time;
a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and
wherein said consensus subsystem is adapted to select a server to host the active instance that is agreeable to a majority of the servers in the migratable target list.
2 Assignments
0 Petitions
Accused Products
Abstract
A migration framework provides for the automatic migration of services in a cluster. A migratable target list contains a list of servers in the cluster capable of hosting a migratable service. A consensus subsystem can select a host server from the migratable target list. A migration manager can migrate the service from a current host to the host selected by the consensus subsystem, and can activate an instance of the service on the selected host server. The migration manager ensures that only one active instance of the service exists in the cluster. A service stub can serve a user request on servers in the migration target, such as by order of preference, until the user request is served on the server hosting the active instance. A lease manager can assign a lease period to determine how long a server hosts an active instance.
103 Citations
24 Claims
-
1. A system for automatically migrating an unratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said consensus subsystem is adapted to select a server to host the active instance that is agreeable to a majority of the servers in the migratable target list.
-
-
2. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said consensus subsystem adapted select a server host the active instance that is agreeable to a majority of a quorum of servers in the migratable target list.
-
-
3. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; wherein said consensus subsystem utilizes a distributed consensus algorithm; and wherein said distributed consensus algorithm comprises a paxos algorithm.
-
-
4. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said consensus subsystem continues to select servers to host the active instance until a majority of servers in the migration target list agree on the selection.
-
-
5. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said sewer cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and further comprising a lease manager adapted to assign a lease period to a server in said server cluster, the lease period determining how long the server will host an active instance of the migratable service. - View Dependent Claims (6, 7, 12)
-
-
8. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said migration target list comprises a list of servers that can host multiple migratable services, such that related migratable services can be moved together by said migration manager.
-
-
9. A system for automatically migrating a migratable service in a server cluster, comprising;
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said service stub is further capable of routing a user request to new active instance of a migratable service if the user request occurs after migration of the migratable service.
-
-
10. A system for automatically migrating a migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migration manager capable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that aviv one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said service stub is further capable of throwing an exception if the service stub is not able to serve a request on a server hosting an active instance of the service.
-
-
11. A system for automatically migratable service in a server cluster, comprising:
-
a migration target list containing a list of servers in the server cluster capable of hosting an instance of the migratable service; a consensus subsystem comprising an algorithm for selecting a server in the server cluster to host an active instance of the migratable service; a migratable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the server cluster at any time; a service stub capable of serving a user request on the servers in said server cluster, the service stub capable of serving the user request on servers in the migration target until the user request is served on the server hosting the active instance of the migratable service; and wherein said migratable service is selected from the group consisting of JMS backends, JTA recovery services, administration services, JCA connectors, timers, partitioned caches, and transitions logs.
-
-
13. A framework for automatically migrating a service between servers, comprising:
-
a migration target list containing a list of servers capable of hosting an instance of a migratable service; a consensus subsystem comprising an algorithm for selecting a server in the migration target list to host an active instance of the migratable service; a migratable of moving the migratable service to the server selected by the algorithm to host the active instance, the migration manager ensuring that only one active instance of the migratable service exists in the servers contained in the migration targets list at any time; and a service stub capable of serving a user request on the servers in the migration target list, the service stub capable of serving the user request on servers in the migration target list until the user request is saved on the server hosting the active instance of the migratable service; and a lease manager adapted to assign a lease period to the server hosting the migratable service, the lease period determining how long the server will host the active instance of the migratable service. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. A method for automatically migrating a service in a server cluster, comprising:
-
deactivating an active service class instance located on a server in the server cluster; selecting a new host server in the server cluster to host the active service class instance using a consensus subsystem, the new host server being selected from a migratable target containing a list of all servers in the server cluster capable of hosting an active instance; activating the service class instance on the new host server; and wherein the step of selecting a new host server further comprises selecting a new host server from the migratable target by selecting the next server in the list, the list of the migration target being ordered by preference, and determining whether a majority of servers in the migration target list agree on the selection.
-
-
22. A method for automatically migrating a service in a server cluster, comprising:
-
deactivating an active service class instance located on a server in the server cluster; selecting a new host server in the server cluster to host the active service class instance using a consensus subsystem, the new host server being selected from a migratable target containing a list of all servers in the server cluster capable of hosting an active instance; activating the service class instance on the new host server; and further comprising; assigning a lease to the server hosting the active service class instance, the lease containing the length of time for which the server can host the instance. - View Dependent Claims (23, 24)
-
Specification