Power control apparatus and method for cluster system

A power control apparatus for a cluster system, includes a cluster including a plurality of nodes, each equipped with a battery; and a power control unit connected to the cluster over a network and configured to monitor power management information and performance information of the cluster and to set a power capping threshold based on the monitored power management information and performance information of the cluster. Accordingly, the power control unit enables power of the cluster to be limited by turning on and off the batteries when power of the cluster system increases up to the power capping threshold.

CROSS-REFERENCE TO RELATED APPLICATION

The present invention claims priority of Korean Patent Application No. 10-2009-0111903, filed on Nov. 19, 2009, which is incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates generally to technology for controlling power for a cluster system; and, more particularly, to a power control apparatus and method for a cluster system, which are suitable for managing the power of all data centers by differently limiting power for systems, each equipped with an Advanced Configuration and Power Interface (ACPI), a power monitoring function, and a controllable battery, e.g., an Uninterruptible Power Supply (UPS).

BACKGROUND OF THE INVENTION

Recently, as a large number of data centers have been being operated all over the world by Internet portable service companies, each having an Internet Data Center (IDC) which is operating hundreds of thousands of devices, technologies for efficiently managing the power of data centers has been multilaterally conducted.

In particular, with the recent information technology infrastructure becoming extended, the power consumption of IDCs has been increased rapidly at an annual average rate of about 45% for three years, and is expected to increase up to 1510 million kWh this year. In order to reduce the rapidly increasing power consumption of IDCs, IDC-level power management technology has been being emphasized.

In a cluster system, there is a plurality of methods of powering down a server, the availability of which decreases in an actual system, or converting the server into a hibernation state. However, in this case, the complexity required to return the server to original state thereof increases, and more functions of managing such an operation are required, and thus the efficiency of the cluster system may decrease.

In consideration of this fact, conventional technologies, such as technology for controlling power using an Intelligent Platform Management Interface (IPMI) and an ACPI, power management technology based on a power model using monitored data, and technology for migrating a data center to a server having low availability by monitoring a load in the data center, have been proposed.

However, such conventional technology is problematic in that the power of the server (or terminal) of a cluster system, e.g., an IDC, always needs to be turned on, and it is difficult to actively cope with the availability of the system.

SUMMARY OF THE INVENTION

In view of the above, the present invention provides a technology for controlling power for a cluster system, in which a battery is mounted in the power supply unit of the cluster system and is monitored and controlled in real time, thus reducing power consumption and actively coping with the availability of the cluster system.

To be more specific, the present invention provides a power control apparatus and method for a cluster system, which set a power capping threshold by monitoring in real time the power, i.e., power consumption and the amount of use of servers, and which enable the cluster system to be automatically controlled such that, when actual amount of the used power is not less than the power capping threshold, power consumption is prevented from exceeding the power capping threshold by changing frequency using Dynamic Voltage and Frequency Scaling (DVFS), changing the state of an ACPI, and utilizing a battery control system.

Further, the present invention provides a power control apparatus and method for a cluster system, which automatically set a power capping threshold by monitoring in real time the power and the amount of use of servers, and reduce the power to be supplied by operating the batteries of servers in ascending order of the amount of use of servers according to the amount of use of the servers for a preset period of time when the amount of the power reaches the power capping threshold.

In accordance with a first aspect of the present invention, there is provided a power control apparatus for a cluster system, including: a cluster including a plurality of nodes, each equipped with a battery; and a power control unit connected to the cluster over a network and configured to monitor power management information and performance information of the cluster and to set a power capping threshold based on the monitored power management information and performance information of the cluster, thus enabling power of the cluster to be limited by turning on and off the batteries when power of the cluster system increases up to the power capping threshold.

In accordance with a second aspect of the present invention, there is provided a power control method for a cluster system, including: monitoring power management information and performance information of a cluster over a network; arranging the monitored power management information and performance information of the cluster into a database; analyzing and optimizing the power management information and the performance information of the cluster, which are arranged into the database; determining a power cap value of the cluster based on results of the analysis and optimization; and executing power capping mode for the cluster according to the determined power cap value.

In accordance with an embodiment of the present invention, unlike conventional power control technology using an ACPI and a CPU control function, power consumption can be further reduced using a power control apparatus equipped with a battery. Further, the present invention can minimize the occurrence of the problems of conventional systems, that is, the problem of power being turned off when an ACPI is operating or the problem of performance decreasing due to a CPU control function, for example, Dynamic Voltage and Frequency Scaling (DVFS), and can perform dynamic power control based on power values that are monitored in real time according to preset power.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings which form a part hereof.

FIG. 1is a diagram showing the construction of a power control apparatus for a cluster system in accordance with an embodiment of the present invention. The power control apparatus includes a cluster100, a network200, a power control unit300and a user terminal400.

As shown inFIG. 1, the cluster100includes a plurality of nodes100/1to100/nand is connected to the power control unit300via the network200. Each node in the cluster100will be described in detail with reference toFIG. 2.

FIG. 2is a block diagram showing the detailed construction of a certain node in the cluster100, e.g., a first node100/1. The first node100/1includes a battery102, a battery controller104, a monitor106, a power distribution unit108, a hardware device110, a communication interface112, a device driver114, an operating system116and a management agent118.

The battery102may be implemented using, e.g., an Uninterruptible Power Supply (UPS), and is controlled by the battery controller104. When the power of the first node100/1increases up to a preset power capping threshold, the battery102is operated for a certain period of time until the power value meet under threshold according to the degree of availability of the first node100/1, e.g., the power management information and the performance information of the first node, thereby decreasing the power of the first node100/1.

The monitor106functions to monitor power and battery information, and the Power Distribution Unit (PDU)108functions to distribute input power, e.g., Alternating Current (AC) power, and supply the distributed power to the first node100/1. The hardware device110is controlled by the device driver114when, e.g., ACPI is supported. The Operating System (OS)116provides an environment enabling the device driver114or the like to be controlled at a user level.

The management agent118functions to gather and control information and to transmit both power management information obtained through the information gathering and control by the management agent118, e.g., information about the battery and power of the first node100/1, and the performance information of the first node100/1, e.g., information about availability calculated using the amount of use of a processor, the amount of use of memory, and the amount of use of a network, to the network200through a communication interface112, e.g., an Ethernet interface.

Further, the network200ofFIG. 1functions to transfer the power management information of a certain node of the cluster100, e.g., the first node100/1, e.g., the capacity of the battery and the amount of power of the first node100/1, and the performance information of the first node100/1, e.g., information about availability calculated using the amount of use of a processor, the amount of use of memory, and the amount of use of a network, to the power control unit300.

Further, the network200functions to transfer a power cap value determined by the power determination unit310, e.g., a reference value required for a dynamic operation for power limitation, i.e., power capping, to the certain node of the cluster100, e.g., the first node100/1.

The power control unit300includes a monitoring unit302, a history Database (DB)304, an analysis unit306, an optimization unit308and a power determination unit310.

The monitoring unit302functions to monitor information transferred via the network200, in detail, the power management information of the certain node of the cluster100, e.g., the first node100/1, such as the information about the battery and power of the first node100/1, and the performance information of the first node100/1, such as the information about availability calculated using the amount of use of a processor, the amount of use of memory and the amount of use of a network.

The history DB304temporarily stores the power management information and the performance information of the certain node, e.g., the first node100/1, which are monitored by the monitoring unit302.

The analysis unit306functions to analyze the power management information and the performance information of the certain node, e.g., the first node100/1, temporarily stored in the history DB304. Here, the amount of analysis performed by the analysis unit306corresponds to the statistical information of time and load, and can be used as reference data for real-time power control.

The optimization unit308functions to optimize the power management information and the performance information, analyzed by the analysis unit306, and to transfer the optimized information to the power determination unit310.

The power determination unit310determines a power cap value on the basis of the optimized monitored power, performance information and performance history information, which are transferred by the optimization unit308. The power cap value determined in this way can be transferred to the certain node of the cluster100, which has been initially monitored, e.g., the first node100/1, over the network200.

The user terminal400is connected to the power control unit300and is configured to provide the results of the analysis of the power management information and the performance information by the analysis unit306, or to directly input specific data, set by the user, to the power determination unit310.

Hereinafter, a power control method for a cluster system in accordance with an embodiment of the present invention will be described in detail with reference to the flowcharts of FIGS.3to5A-5B, together with the above-described construction.

FIG. 3is a flow chart showing a power control method for a cluster system in accordance with the embodiment of the present invention, that is, a power control process using real-time dynamic control.

As shown inFIG. 3, the power management information and the performance information (i.e., the availability of a server) of a certain node of the cluster100, e.g., the first node100/1, are monitored by the monitoring unit302of the power control unit300in step S300.

Thereafter, the power control unit300temporarily stores the power management information and the performance information of the first node100/1, monitored by the monitoring unit302, in the history DB304in step S302.

The power management information and the performance information of the first node100/1, temporarily stored in the history DB304, can be analyzed by the analysis unit306in step S304. For example, the power management information and the performance information can be analyzed according to the statistical information of time and load.

Thereafter, the power control unit300optimizes the power management information and the performance information of the first node100/1, analyzed by the analysis unit306, in step S306, and provides the results of the optimization to the power determination unit310to enable a power cap value to be determined in step S308.

A procedure for determining the power cap value includes setting the maximum power capping threshold and the minimum power capping threshold for the system, separately setting an operating power cap value (driving point) that enables an operation in a capping range between the maximum power capping threshold and the minimum power capping threshold for the system, and increasing the operating power cap value up to a preset power capping threshold when the cluster system executes power capping mode above the operating power cap value, but the power of the cluster system cannot be decreased below the power capping threshold due to the load of the cluster system.

When the power cap value is determined, the power capping mode in accordance with an embodiment of the present invention is executed in step S310. Such a power capping mode execution procedure will be described in detail with reference toFIG. 4.

FIG. 4is a flow chart showing the power capping mode execution procedure ofFIG. 3. First, the power control unit300charges the battery100of the first node100/1and monitors the capacity of the battery using the monitoring unit302in step S400. The monitoring of the battery capacity of the first node100/1can be implemented by the management agent118and the communication interface112of the first node100/1and the network200.

As a result of the monitoring of the battery capacity, when the current capacity of the battery is not less than a preset battery threshold at step S402, the power management information and the performance information of the first node100/1are monitored to execute the above-described power capping mode in step S404. Whether the current power of the first node100/1is not less than the operating power cap value (driving point), determined by the power determination unit310in step S308, is determined in step S406.

If it is determined in step S406that the current power of the first node100/1is not less than the operating power cap value, the server availability of the first node100/1is monitored in step S408.

The first node100/1is selected based on information obtained by such monitoring, and thus the state of the ACPI can be changed, or the Dynamic Voltage and Frequency Scaling (DVFS) can be operated, in steps S410and S412.

In step S414, whether the current power is not less than the operating power cap value is determined again. If it is determined that the current power is not less than the operating power cap value, a timer is turned on in step S416and the battery of the first node100/1is turned on for a preset period of time in step S418.

After the power capping mode is executed for the preset period of time, whether the current power is not less than the operating power cap value is determined in step S420. If it is determined in step S420that the current power amount is not less than the operating power cap value, the process returns to step S404.

Thereafter, the current capacity of the battery is compared with the preset battery threshold for a preset period of time in step S422. If the current capacity of the battery is less than the preset battery threshold, the timer is turned off in step S424and the process goes to step S400. Meanwhile, if the current capacity of the battery is not less than the preset battery threshold, and the preset period of time has elapsed in step S426, the battery is turned off in step S428.

Thereafter, whether the current power amount is not less than the operating power cap value is determined again in step S430. If it is determined in step S430that the current power is not less than the operating power cap value, the process returns to step S408, and if it is determined in step S430that the current power is less than the operating power cap value, the timer is turned off in step S432and the process is terminated.

Meanwhile,FIGS. 5A and 5Bare flow charts showing another example of a power control process using a direct input of user in the power control method for a cluster system in accordance with an embodiment of the present embodiment.

As shown inFIGS. 5A-5B, the power control unit300charges the battery100of the first node100/1and monitors the capacity of the battery100using the monitoring unit302in step S500. The monitoring of the capacity of the battery of the first node100/1can be implemented using the management agent118and the communication interface112of the first node100/1and the network200.

As a result of the monitoring of the battery capacity, when the current capacity of the battery is not less than a preset battery threshold in step S502, the power management information and the performance information of the first node100/1are monitored to execute the above-described power capping mode in step S504. Whether the current power of the first node100/1is not less than the operating power cap value (driving point), determined by the power determination unit310in step S308, is determined in step S506.

If it is determined in step S506that the current power of the first node100/1is not less than the operating power cap value, the server availability of the first node100/1is monitored in step S508.

The first node100/1is selected based on information obtained by such monitoring, and thus the state of the ACPI can be changed, or the Dynamic Voltage and Frequency Scaling (DVFS) can be operated, in steps S510and S512.

In step S514, whether the current power is not less than the operating power cap value is determined again. If it is determined that the current power is not less than the operating power cap value, the battery of the first node100/1is turned on for a preset period of time in steps S516and S518.

After the power capping mode is executed for the preset period of time, whether the current power is not less than the operating power cap value is determined in step S520. If it is determined in step S520that the current power amount is not less than the operating power cap value, the process returns to step S504.

Thereafter, the current capacity of the battery is compared with the preset battery threshold for a preset period of time in step S522. If the current capacity of the battery is less than the preset battery threshold, the timer is turned off in step S524and the process goes to step S500. Meanwhile, if the current capacity of the battery is not less than the preset battery threshold, and the preset period of time has elapsed in step S526, the battery is turned off in step S528.

After the battery is turned off in this way, whether the current power is not less than the operating power cap value is determined in step S530. If it is determined that the current power is not less than the operating power cap value, the timer is turned off in step S532and then whether the power can be decreased below the operating power cap value is determined in step S534.

If it is determined that the current power can be decreased below the operating power cap value, the process returns to S508, and if it is determined that the current power cannot be decreased below the operating power cap value, the process proceeds to step S536, thus enabling the operating power cap value to be upwardly adjusted.

In step S538, whether the operating power cap value, upwardly adjusted in this way, is identical to the maximum power capping threshold is determined. When the upwardly adjusted operating power cap value is identical to the maximum power capping threshold, a reporting procedure for reporting the current power state to the manager is performed in step S540and the process is terminated.

In this case, the reporting procedure is a procedure for providing available operating power to the user, and may be a procedure for providing collective statistical information indicating the current power state and the previous power state of the system to the user.

As described above, in accordance with an embodiment of the present invention, a battery can be mounted in the power supply unit of the node (or server) of a cluster system and can be controlled in real time, and when power increases up to a preset power capping threshold, the battery is operated for a preset period of time according to the degree of availability of the server, thus enabling power to be controlled. In this case, the present invention is configured such that, when the availability of the controlled power is low, the state of the server is converted into a sleep state or a hibernation state using the control of an ACPI, thus reducing power consumption, and such that, when the availability of the system is high, instantaneous power is interrupted using a battery to enable the battery to be operated for a preset period of time.

While the invention has been shown and described with respect to the embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims.