IP Library › Granted Patent US 11,637,905
Granted Patent B2
US 11,637,905 · App. 17/333,606 · Granted Apr 25, 2023

Method for deploying service in cluster system, program, and system

Inventors: Yuchen Shen (Itami, JP); Nordes Menard-Lamarre (Takarazuka, JP)
Assignee: Konica Minolta, Inc.
H04L67/51H04L67/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,637,905
App. No.
17/333,606
Granted
Apr 25, 2023
Kind
B2
Abstract

There is provided a method for deploying a service to a cluster system, and the method includes: obtaining a first run level of a first node; obtaining a second run level of a second node; obtaining a required run level for the service; comparing the required run level with the first and second run levels; determining whether or not the service is deployable to each of the first and second nodes on the basis of a result of the comparing; and updating at least one of the first and second run levels on the basis of deployment of the service to at least one of the first and second nodes.

Claims (43)

1. A method for deploying a service to a cluster system, the method comprising:

obtaining a first run level of a first node, the first run level being a highest required run level in one or more required run levels assigned to one or more services currently run by the first node;

obtaining a second run level of a second node, the second run level being a highest required run level in one or more required run levels assigned to one or more services currently run by the second node;

obtaining a required run level assigned to the service;

comparing the required run level with the first and second run levels;

determining whether or not the service is deployable to each of the first and second nodes on the basis of a result of the comparing; and

updating at least one of the first and second run levels on the basis of deployment of the service to at least one of the first and second nodes.

2. The method according to claim 1 , wherein

the determining whether or not the service is deployable to each of the first and second nodes includes determining that the service is deployable to each of the first and second nodes on the basis of each run level of the first and second nodes being equal to or higher than the required run level for the service.

3. The method according to claim 1 , further comprising:

determining a termination order of one or a plurality of the services having been deployed on the basis of a run level of one or a plurality of the services having been deployed; and

updating at least one of the first and second run levels on the basis of termination of at least one of one or a plurality of the services.

4. The method according to claim 1 , wherein

the first and second run levels are set to a node run level individual for each node, and

the comparing the required run level with the first and second run levels includes individually executing comparison between the required run level and the first run level and comparison between the required run level and the second run level.

5. The method according to claim 4 , wherein

the updating at least one of the first and second run levels includes:

updating the first run level on the basis of the required run level for the service having the highest required run level among one or a plurality of the services having been deployed to the first node; and

updating the second run level on the basis of the required run level for the service having the highest required run level among one or a plurality of the services having been deployed to the second node.

6. The method according to claim 4 , further comprising:

obtaining a configuration of a number of replicas by referring to a configuration file of the service, wherein

the updating at least one of the first and second run levels includes updating at least one of the first and second run levels on the basis of deploying the service that satisfies a deployment condition a number of times specified by the configuration of the number of replicas.

7. The method according to claim 1 , wherein

the first and second run levels are set to a cluster run level common in the cluster system, and

the comparing the required run level with the first and second run levels includes comparing the required run level with the cluster run level.

8. The method according to claim 7 , wherein

the updating at least one of the first and second run levels includes updating the cluster run level on the basis of the required run level of the service having the highest required run level among one or a plurality of the services having been deployed to the first or second node.

9. The method according to claim 7 , further comprising:

obtaining a configuration of a number of replicas by referring to a configuration file of the service, wherein

the updating at least one of the first and second run levels includes updating the cluster run level on the basis of deploying the service that satisfies a deployment condition a number of times specified by the configuration of the number of replicas.

10. The method according to claim 1 , further comprising:

deploying a management service for managing the required run level and the first and second run levels to either of the first and second nodes.

11. The method according to claim 10 , further comprising:

setting, according to the management service, a filter including a deployment condition of the service in a controller of the cluster system on the basis of the required run level.

12. The method according to claim 1 , wherein

the determining whether or not the service is deployable to each of the first and second nodes on the basis of a result of the comparing includes determining the service is deployable to both of the first and second nodes,

the method further comprising:

randomly selecting one of the first and second nodes to deploy the service to the selected one of the first and second nodes.

13. A non-transitory recording medium storing a computer readable program causing one or more processors to perform:

the method according to claim 1 .

14. A system comprising:

one or more processors; and

a memory that stores a program for causing the one or more processors to perform the method according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 14, 2023
From: SHEN, YUCHEN
To: KONICA MINOLTA INC.
Reel/Frame 062688/0746 →
Priority Claims (1)
JP JP2020-097641 · Jun 4, 2020 · national
Continuity (1)
Related Publication 20210385288A1 · Dec 9, 2021
Cited By (1)
US 12,632,294