System and method for providing minimal power-consuming redundant computing hardware for distributed services
View Patent ↗A system and method to intelligently control power consumption of distributed services using a computer system that provides independent computing elements each capable of entering a power saving mode. The first algorithm is a reduced load power saving algorithm. As the load decreases, duplicate instances of services can be gracefully suspended and the host processor cards hosting these instances can enter a power saving mode. The second algorithm is a priority-based power consumption reduction algorithm. If power consumption must be reduced, services having less of a contribution to revenue are suspended before components that having a higher contribution to revenue. The third algorithm is a minimal power-consuming redundant computing hardware algorithm that allows a “cold spare” host processor card to be pressed into service if another card fails.
1. A method of providing minimal power consuming redundant computing elements for a distributed application comprised of a plurality of components, wherein the plurality of components are hosted by a plurality of computing elements that can each enter a power saving mode, the method comprising:
detecting an impending or actual failure of an affected computing element;
identifying instances of components executing on the affected computing element;
signaling a cold spare computing element to enter a normal operation mode from the power saving mode;
initializing instances of identified components on the cold spare computing element now operating in normal operation mode;
gracefully suspending all instances of identified components executing on the affected computing element;
signaling the affected computing element to enter a hot swap mode from the normal operation mode;
replacing the affected computing element with a replacement computing element;
signaling the replacement computing element to enter the normal operation mode from the hot swap mode;
initializing instances of identified components on the replacement computing element now operating in the normal operation mode;
gracefully suspending all instances of identified components on the cold spare computing element; and
signaling the cold spare computing element to enter the power saving mode from the normal operation mode.
2. A computer program product comprising:
at least one computer usable medium having computer readable code embodied therein for providing availability of minimal power consuming redundant computing elements for a distributed application comprised of a plurality of components, wherein the plurality of components are hosted by a plurality of computing elements that can each enter a power saving mode, the computer program product including:
first computer readable program code devices configured to detect an impending or actual failure of an affected computing element;
second computer readable program code devices configured to identify instances of components executing on the affected computing element;
third computer readable program code devices configured to signal a cold spare computing element to enter a normal operation mode from the power saving mode;
fourth computer readable program code devices configured to initialize instances of identified components on the cold spare computing element now operating in the normal operation mode;
fifth computer readable program code devices configured to gracefully suspend all instances of identified components executing on the affected computing element;
sixth computer readable program code devices configured to signal the affected computing element to enter a hot swap mode from the normal operation mode;
seventh computer readable program code devices configured to detect a replacement of the affected computing element with a replacement computing element;
eighth computer readable program code devices configured to signal the replacement computing element to enter the normal operation mode from the hot swap mode;
ninth computer readable program code devices configured to initialize instances of identified components on the replacement computing element now operating in the normal operation mode;
tenth computer readable program code devices configured to gracefully suspend all instances of identified components on the cold spare computing element; and
eleventh computer readable program code devices configured to signal the cold spare computing element to enter the power saving mode from the normal operation mode.
3. A computer system comprising:
a backplane;
a plurality of host processor cards coupled to the backplane, with the plurality of host processor cards hosting a distributed application comprised of a plurality of components, and at least one of the plurality of cards designated as a cold spare host processor card that is normally kept in a power saving mode; and
a management unit coupled to the back plane, the management unit operable to signal each of the plurality of host processor cards to enter the power saving mode and a normal operation mode, and executing a program that:
detects an impending or actual failure of an affected host processor card of the plurality of host processor cards;
identifies instances of components executing on the affected host processor card; signals the cold spare host processor card to enter the normal operation mode from the power saving mode;
initializes instances of identified components on the cold snare host processor card now operating in normal operation mode;
gracefully suspends all instances of identified components executing on the affected host processor card;
signals the affected host processor card to enter a hot swap mode from the normal operation mode;
detects replacement of the affected host processor card with a replacement host processor card;
signals the replacement host processor card to enter the normal operation mode from the hot swap mode;
initializes instances of identified components on the replacement host processor card now operating in the normal operation mode;
gracefully suspending all instances of identified components on the cold spare computing element; and
signaling the cold spare computing element to enter the power saving mode from the normal operation mode.