Incremental run-time session balancing in a multi-node system
First Claim
Patent Images
1. A method for balancing use of resources between nodes of a multi-node system, the method comprising the steps of:
- detecting a service-level violation on a first node from a set of nodes in the multi-node system;
wherein the set of nodes hosts a multi-node server that includes a first server instance on the first node;
wherein the first server instance hosts a plurality of services, wherein each service of the plurality of services is work of a particular type;
selecting, based on a policy function that is supplied and registered in response to user input,(a) a particular service of said plurality of services;
(b) a second server instance hosting said particular service on a node different than said first node;
determining, based on the policy function, a first number of sessions of the particular service running on the first server instance to migrate to the second server instance;
migrating at least a portion of said first number of selected sessions of the particular service to said second server instance;
determining whether said service-level violation on the first node persists; and
if said service-level violation persists, repeating the steps of selecting at least one particular service, the second server instance hosting said particular server, and determining the first number of selected service sessions to migrate.
0 Assignments
0 Petitions
Accused Products
Abstract
An approach migrates database sessions from a database server on which performance and resource availability requirements are not being met to another database server. Because workload is removed from the database server not meeting these requirements, improved performance there is promoted. Furthermore, the approach switches the users in a way that attempts to keep performance and resource availability levels at the database server receiving the database sessions within goals for performance and resource availability.
-
Citations
18 Claims
-
1. A method for balancing use of resources between nodes of a multi-node system, the method comprising the steps of:
-
detecting a service-level violation on a first node from a set of nodes in the multi-node system; wherein the set of nodes hosts a multi-node server that includes a first server instance on the first node; wherein the first server instance hosts a plurality of services, wherein each service of the plurality of services is work of a particular type; selecting, based on a policy function that is supplied and registered in response to user input, (a) a particular service of said plurality of services; (b) a second server instance hosting said particular service on a node different than said first node; determining, based on the policy function, a first number of sessions of the particular service running on the first server instance to migrate to the second server instance; migrating at least a portion of said first number of selected sessions of the particular service to said second server instance; determining whether said service-level violation on the first node persists; and if said service-level violation persists, repeating the steps of selecting at least one particular service, the second server instance hosting said particular server, and determining the first number of selected service sessions to migrate. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
detecting a service-level violation on a first node from a set of nodes in the multi-node system; wherein the set of nodes hosts a multi-node server that includes a first server instance on the first node; wherein the first server instance hosts a plurality of services, wherein each service of the plurality of services is work of a particular type; selecting, based on a policy function that is supplied and registered in response to user input, (a) a particular service of said plurality of services; (b) a second server instance hosting said particular service on a node different than said first node; determining, based on the policy function, a first number of sessions of the particular service running on the first server instance to migrate to the second server instance; migrating at least a portion of said first number of selected sessions of the particular service to said second server instance; determining whether said service-level violation on the first node persists; and if said service-level violation persists, repeating the steps of selecting at least one particular service, the second server instance hosting said particular server, and determining the first number of selected service sessions to migrate. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification