KR101366750B1 - Method for managing power of the server cluster and the server cluster using the same - Google Patents

Method for managing power of the server cluster and the server cluster using the same Download PDF

Info

Publication number
KR101366750B1
KR101366750B1 KR1020090087676A KR20090087676A KR101366750B1 KR 101366750 B1 KR101366750 B1 KR 101366750B1 KR 1020090087676 A KR1020090087676 A KR 1020090087676A KR 20090087676 A KR20090087676 A KR 20090087676A KR 101366750 B1 KR101366750 B1 KR 101366750B1
Authority
KR
South Korea
Prior art keywords
server
servers
determining whether
load
decision
Prior art date
Application number
KR1020090087676A
Other languages
Korean (ko)
Other versions
KR20110029833A (en
Inventor
윤승현
정유현
송호영
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR1020090087676A priority Critical patent/KR101366750B1/en
Publication of KR20110029833A publication Critical patent/KR20110029833A/en
Application granted granted Critical
Publication of KR101366750B1 publication Critical patent/KR101366750B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0833Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network energy consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer

Abstract

본 발명은 서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터에 관한 것으로, 본 발명의 실시예에 따른 서버 클러스터의 전력 관리 방법은, 복수 서버 또는 스위치의 부하를 모니터링하는 단계와, 복수 서버의 가동 서버 축소 여부를 결정하는 단계와, 축소 결정에 따라 해당 서버의 동작을 중지하는 단계를 포함한다. 이에 의해, 전력을 효율적으로 관리할 수 있게 된다. The present invention relates to a power management method of a server cluster and a server cluster using the method, the power management method of a server cluster according to an embodiment of the present invention, monitoring the load of a plurality of servers or switches, and Determining whether to shrink the movable server, and stopping the operation of the server according to the reduction decision. Thereby, power can be efficiently managed.

서버 클러스터, 전력, 관리 Server cluster, power, management

Description

서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터{Method for managing power of the server cluster and the server cluster using the same}Method for managing power of the server cluster and the server cluster using the same}

본 발명은 서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터 에 관한 것으로, 더욱 상세하게는, 전력을 효율적으로 관리할 수 있는 서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터에 관한 것이다.The present invention relates to a power management method of a server cluster and a server cluster using the method. More particularly, the present invention relates to a power management method of a server cluster capable of efficiently managing power and a server cluster using the method.

본 발명은 지식경제부 및 정보통신연구진흥원의 IT성장동력기술개발 사업의 일환으로 수행한 연구로부터 도출된 것이다[과제 관리번호 2008-S-010-02, 과제명: 다계층 광네트워크 제어 플랫폼 기술 개발].The present invention is derived from the research conducted as part of the IT growth engine technology development project of the Ministry of Knowledge Economy and the Ministry of Information and Communication Research and Development. [Task Management No. 2008-S-010-02, Title: Development of Multi-layer Optical Network Control Platform Technology] ].

통상적으로 웹서버 또는 방화벽 등은 통신대역폭에 비하여 그 처리 성능이 충분하지 못하기 때문에, L4 스위치의 부하분산 기능을 이용하여 다수의 서버 시스템을 이용한 서버 클러스터를 구성하여 서비스를 수행한다. In general, a web server or a firewall does not have sufficient processing performance compared to a communication bandwidth. Thus, a server cluster is formed using a plurality of server systems to perform a service by using a load balancing function of an L4 switch.

현존하는 L4 스위치의 부하분산 기능은 부하를 모든 서버에 균등하게 배분하여 하나의 서버에 부하가 집중되는 문제를 해결하는데 초점이 맞추어져 있으며, 서버의 성능이 다를 경우에 대비하여 가중치를 감안하는 경우도 있다. 통상 서버 클 러스터에서 서버의 수는 피크부하 시간을 기준으로 계산 및 설계되며, 이러한 서버들에 부하가 배분되면서 서비스가 운용된다. The load balancing capabilities of existing L4 switches are focused on solving the problem of load concentrating on one server by distributing the load evenly across all servers, and considering weights in case of different server performance. There is also. In a server cluster, the number of servers is usually calculated and designed based on peak load time, and the service is operated as the load is distributed to these servers.

이러한 서버 클러스터의 문제는 피크부하를 기준으로 서버를 가동하여 부하에 상관없이 모든 서버가 상시로 운용된다는 것에 있다. 일반적으로 피크시간은 하루 중에 일부 시간만 해당되며, 이외 시간에 모든 서버는 낮은 사용률을 기록할 수밖에 없다. 그러나 일반적으로 서버 시스템들은 부하 증감에 비하여 전력사용량 변화가 크지 않은 특징을 갖고 있다. 따라서 서버 클러스터의 전력사용량은 부하에 상관없이 피크시간을 기준으로 항상 비슷하게 소모하게 되며, 설치된 IDC의 냉난방에 필요한 전력 소모도 동일하게 유발하게 된다. 결과적으로 기존 서버 클러스터 구조는 전반적으로 전력을 비효율적으로 사용하는 문제점을 갖고 있다. The problem with such a server cluster is that all servers run at all times regardless of the load by running servers based on peak load. Typically, peak hours are only part of the day, and at other times all servers are forced to record low utilization rates. In general, however, server systems are characterized by a modest change in power consumption compared to load increases and decreases. Therefore, the power consumption of the server cluster is always consumed similarly based on the peak time regardless of the load, and also causes the same power consumption required for cooling and heating the installed IDC. As a result, the existing server cluster structure generally has a problem of using power inefficiently.

본 발명은 전술한 종래기술의 문제점을 해결하기 위하여, 전력을 효율적으로 관리할 수 있는 서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터 를 제공하는데 그 목적이 있다. An object of the present invention is to provide a power management method of a server cluster capable of efficiently managing power, and a server cluster using the method, in order to solve the problems of the prior art described above.

상술한 목적 및 그 밖의 목적을 달성하기 위한 본 발명의 실시예에 따른, 서버 클러스터의 전력 관리 방법은, 복수 서버 또는 스위치의 부하를 모니터링하는 단계와, 복수 서버의 가동 서버 축소 여부를 결정하는 단계와, 축소 결정에 따라 해당 서버의 동작을 중지하는 단계를 포함한다.According to an embodiment of the present invention for achieving the above object and other objects, the power management method of the server cluster, the step of monitoring the load of a plurality of servers or switches, and determining whether to reduce the operation server of the plurality of servers And stopping the operation of the server according to the reduction decision.

또한, 상술한 목적 및 상술한 목적 및 그 밖의 목적을 달성하기 위한 본 발명의 실시예에 따른 서버 클러스터의 전력 관리 장치는, 복수의 서버와, 복수 서버의 부하를 분산하는 스위치와, 복수의 서버 또는 스위치의 부하를 모니터링하고, 복수 서버의 가동 축소 여부를 결정하며, 축소 결정에 따라 해당 서버의 동작을 중지하도록 제어하는 제어부를 포함한다. In addition, the apparatus for managing power in a server cluster according to an embodiment of the present invention for achieving the above-described object and the above-mentioned object and other objects includes a plurality of servers, a switch for distributing loads of the plurality of servers, and a plurality of servers. Or a control unit for monitoring the load of the switch, determining whether to reduce the operation of the plurality of servers, and controlling to stop the operation of the server according to the reduction decision.

본 발명의 실시예에 따르면, 서버 클러스터의 전력 관리 방법 및 그 방법을 사용한 서버 클러스터는, 부하 또는 트래픽에 따라 가동 서버를 축소함으로써 전력을 효율적으로 사용할 수 있게 된다. 이에 따라 필요 없는 서버 운용을 제한하여 전력 사용을 현저히 감소시킬 수 있게 된다.According to the embodiment of the present invention, the power management method of the server cluster and the server cluster using the method can efficiently use power by reducing the movable server according to load or traffic. This can significantly reduce power usage by restricting unnecessary server operations.

또한, 부하 또는 트래픽에 따라 가동 서버를 확대함으로써, 전력을 효율적으로 관리할 수 있게 된다. 특히, 가동 서버가 축소된 상태에서, 부하 또는 트래픽이 증가하는 경우, 즉시 서버를 확대할 수 있어 전력 사용을 효율적으로 관리할 수 있다. In addition, power can be managed efficiently by expanding the movable server according to load or traffic. In particular, when the load server or the traffic increases, the server can be expanded immediately in a state where the movable server is reduced, so that the power usage can be efficiently managed.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

도 1은 본 발명의 실시예에 따른 서버 클러스터를 도시한 도면이다.1 is a diagram illustrating a server cluster according to an exemplary embodiment of the present invention.

도면을 참조하여 설명하면, 본 발명의 실시예에 따른 서버 클러스터는, 스위치(110), 제어부(130), 및 복수의 서버(150)를 포함한다.Referring to the drawings, a server cluster according to an embodiment of the present invention includes a switch 110, a controller 130, and a plurality of servers 150.

스위치(110)는, 예를 들어, L4 스위치일 수 있다. L4 스위치(110)는, 인터넷 망(105)으로부터의 부하를 분산한다. 예를 들어, 복수의 서버(150) 중 동일한 역할을 수행하는 서버들을 가상 IP(Virtual IP; VIP)를 통해 관리하며, 서버로 향하는 부하 또는 트래픽을 VIP를 갖는 L4 스위치(110)가 수신하여 부하를 분산(로드 밸런싱)할 수 있다. 이러한 부하 분산 방법으로는, 라운드 로빈(Round Robin), 해싱(hashing), 리스트 커넥션(least connection) 등 다양한 방법이 사용될 수 있다. The switch 110 may be, for example, an L4 switch. The L4 switch 110 distributes the load from the Internet network 105. For example, a server performing the same role among the plurality of servers 150 may be managed through a virtual IP (VIP), and the load or traffic directed to the server may be received by the L4 switch 110 having the VIP. Can be distributed (load balanced). As the load balancing method, various methods such as round robin, hashing, and list connection may be used.

한편, 본 발명의 실시예와 관련하여, 후술하는 제어부(130)의 가동 서버 축소 또는 서버 확대 결정에 따라, 스위치(110)는, 신규 요청을 차단 또는 할당할 수 있다. In the meantime, in accordance with an embodiment of the present invention, the switch 110 may block or allocate a new request according to the control server 130 or the server enlargement decision to be described later.

제어부(130)는, L4 스위치(110)의 트래픽 부하를 모니터링하고, 부하 분산 기능을 제어하며, 복수의 서버(150)의 부하를 감시하고 서버의 중단 및 재가동을 제어한다. The controller 130 monitors the traffic load of the L4 switch 110, controls the load balancing function, monitors the load of the plurality of servers 150, and controls the stopping and restarting of the server.

이러한 제어부(130)는, 도면과 같이, L4 스위치(110) 또는 복수의 서버(150)와 독립적으로 위치할 수 있으나 이에 한정되지 않으며, L4 스위치(110) 내에 위치할 수도 있다. The controller 130 may be located independently of the L4 switch 110 or the plurality of servers 150 as shown in the drawings, but is not limited thereto and may be located in the L4 switch 110.

제어부(130)는, 트래픽 부하 및 서버 부하를 모니터링하고, 복수 서버(150)의 가동 서버 축소 여부 또는 확대 여부를 결정하며, 정해진 정책에 따라서 서버 가동을 중지하거나 재가동시킨다. 이때, 서비스 중단을 방지 또는 최소화하기 위하여 L4 스위치(110)의 부하 분산 기능 또는 라우팅 기능을 제어하여, 중단할 예정인 서버로 신규 요청을 받지 않도록 한 후에 해당 서버를 중단한다. 해당 서버의 재가동시에도 서버 동작을 확인한 후에 부하 분산 기능을 제어한다. The controller 130 monitors the traffic load and the server load, determines whether the plurality of servers 150 are reduced or expanded, and stops or restarts the server according to a predetermined policy. At this time, in order to prevent or minimize service interruption, the load balancing function or the routing function of the L4 switch 110 is controlled to stop the server after receiving a new request to the server to be stopped. When the server is restarted, the load balancing function is controlled after checking the server operation.

이와 같이, 기존 서비스는 지속하는 상황에서 신규 요청을 받지 않는 방법으로는, L4 스위치(110)의 부하 분산 기능 중에 가중치 라운드 로빈(WRR: Weighted Round Robin) 방법에서 가중치를 온라인으로 축소하는 방법을 사용할 수 있다. As such, as a method of not receiving a new request in a situation where the existing service continues, a weight reduction round (WRR) method may be used to reduce the weight online during the load balancing function of the L4 switch 110. Can be.

만일, 가중치 라운드 로빈(WRR: Weighted Round Robin) 기능이 없는 경우에는, L4 스위치(110)의 기능을 확장하여, 서버 별 연결상태를 가용/비가용(또는 on-line/off-line) 뿐만 아니라, 가용/비가용/신규중지(on-line/off-line/stop)와 같이, 새로운 서비스 요청(세션)을 받지 않는 상태를 추가하여 운용하도록 L4 스위치(110)를 수정 보완할 수 있다.If there is no weighted round robin (WRR) function, the function of the L4 switch 110 may be extended to not only enable / disable (or on-line / off-line) connection status of each server. The L4 switch 110 may be modified and supplemented to operate by adding a state that does not receive a new service request (session), such as available / unavailable / new stop (on-line / off-line / stop).

한편, 도면에서는 발명의 요지를 강조하기 위하여, 단일 L4 스위치(110)에 대한 구성만 도시하였으나, 이에 한정되지 않는다. 즉, 실제 적용에서와 같이, L4 스위치(110)의 이중화 또는 포트의 이중화 등에도 동일하게 적용이 가능하다. Meanwhile, in order to emphasize the gist of the present invention, only the configuration of the single L4 switch 110 is illustrated, but is not limited thereto. That is, as in the actual application, the same can be applied to the duplication of the L4 switch 110, the duplication of the port, and the like.

상술한 바와 같이, 부하에 따라 서버 동작의 온/오프를 제어함으로써, 적절한 수의 서버만을 가동할 수 있어, 전력을 절감할 수 있게 된다.As described above, by controlling the on / off of the server operation in accordance with the load, only an appropriate number of servers can be operated, and power can be saved.

도 2는 도 1의 제어부의 간략한 내부 블록도이다. FIG. 2 is a simplified internal block diagram of the controller of FIG. 1.

도면을 참조하면, 제어부(130)는, 스위치 인터페이스(210), 서버 인터페이스(215), 측정/분석부(220), 스위치 제어부(225), 서버 제어부(230), 상위 연동 인터페이스(235), 및 정책 결정부(240)를 포함할 수 있다. 그 외, 제어부(130)는 데이터베이스, 로그 등의 기능을 수행할 수 있다.Referring to the drawings, the controller 130 may include a switch interface 210, a server interface 215, a measurement / analysis unit 220, a switch control unit 225, a server control unit 230, an upper interworking interface 235, and the like. And a policy decision unit 240. In addition, the controller 130 may perform a function such as a database or a log.

스위치 인터페이스(210)와 서버 인터페이스(215)는, 각각 L4 스위치(110)와 복수의 서버(150)와 통신 프로토콜이나 구체적인 명령어를 만들어 연동한다.The switch interface 210 and the server interface 215 make and communicate with the L4 switch 110 and the plurality of servers 150 by making a communication protocol or a specific command.

측정/분석부(220)는, 서버(150) 및 트래픽의 부하를 주기적을 수집하고 이를 분석하여 그 결과를 정책 결정에 필요한 형태로 가공하여 제공한다.The measurement / analysis unit 220 collects the server 150 and the traffic load periodically, analyzes the result, and processes the result into a form necessary for policy decision and provides the result.

스위치 제어부(225)는, 정책 결정부(240)에서의 정책 결정에 따라, L4 스위치(110)의 부하 분산 기능, 라우팅 기능을 제어한다. The switch control unit 225 controls the load balancing function and the routing function of the L4 switch 110 in accordance with the policy decision by the policy decision unit 240.

서버 제어부(230)는, 서버에 대한 온/오프(on/off) 제어를 수행한다. 정책 결정부(240)에서 결정된 서버의 감축 또는 확대 결정에 따라, 해당 서버를 중단하거나 재가동하도록 제어한다.The server controller 230 performs on / off control for the server. According to the reduction or enlargement decision of the server determined by the policy determination unit 240, the server is controlled to stop or restart.

이때, 서버를 중단하거나 재가동하는 방법은, 다양한 형태로 구현이 가능하다. 예를 들어, 서버(150-1,150-2,…150-n)의 관리기능을 통하여 절전모드로 강제로 이행시킬 수 있다. 또한, 원격제어 가능한 파워공급장치를 통하여 서버로 공급되는 전원을 차단하는 방식을 쓸 수도 있다. 또한, 일정시간 요청이 없을 때, 서버(150-1,150-2,…150-n)를 자동으로 절전/중단 하도록 설정하여, 해당 서버로 통신을 차단함으로써 서버 중단을 유도하고 네트워크를 통한 부팅(재가동)이 되도록 하는 방법을 사용할 수도 있다. 본 발명에서 다양한 형태의 서버 on/off 방법을 사용할 수 있다.In this case, a method of stopping or restarting the server may be implemented in various forms. For example, it is possible to forcibly enter the power saving mode through the management function of the servers 150-1, 150-2, ... 150-n. In addition, a method of cutting off power supplied to the server through a remotely controllable power supply device may be used. In addition, when there is no request for a certain time, the server 150-1, 150-2, ... 150-n is set to automatically save / suspend, interrupt the communication to the server to induce server interruption and boot through the network (restart You can also use In the present invention, various types of server on / off methods may be used.

상위 연동 인터페이스(235)는, 상위 관리 시스템과의 연동을 수행한다.The higher interworking interface 235 performs interworking with a higher management system.

정책 결정부(240)는, 측정/분석부(220)에서 측정 및 분석 결과를 바탕으로 하여 복수의 서버(150) 중 그 동작을 중지 또는 재가동할 서버를 결정한다. 이때의 기준은 다양하게 설정하는 것이 가능하다. The policy determination unit 240 determines a server to stop or restart the operation among the plurality of servers 150 based on the measurement and analysis results of the measurement / analysis unit 220. At this time, it is possible to set various criteria.

예를 들어, 서버(150-1,150-2,…150-n)의 CPU 사용율에 대하여, 서버 감축을 위한 제1 임계치와, 서버 확대를 위한 제2 임계치를 설정하고, 제1 임계치 이하이면 서버 감축 결정을, 제2 임계치 이상이면 서버 확대 결정을 할 수 있다.For example, for a CPU utilization rate of the servers 150-1, 150-2, ... 150-n, a first threshold for reducing the server and a second threshold for expanding the server are set, and the server reduction is lower than the first threshold. If the determination is equal to or greater than the second threshold, the server enlargement decision may be made.

또한, 서버(150-1,150-2,…150-n) 당 서비스 요청수에 대하여, 각각의 임계치를 설정하고 이를 기준으로 서버 감축/축소 결정을 할 수 있다.In addition, with respect to the number of service requests per server 150-1, 150-2,...

또한, 사용 이력에 따라 예측된 시간당 부하를 기준으로 서버 확대/축소 결정을 내릴 수도 있다. In addition, the server zoom decision may be made based on the estimated hourly load according to the usage history.

또한, 상술한 방법을 혼합하여 사용할 수 있다. 본 발명에서 이러한 가동서버의 축소/확대 결정방식들은 제한하지 않는다.Moreover, the above-mentioned method can be mixed and used. In the present invention, the reduction / expansion determination methods of the movable server are not limited.

도 3은 본 발명의 실시예에 따른 서버 클러스터의 전력 관리 방법을 도시한 순서도이다.3 is a flowchart illustrating a power management method of a server cluster according to an exemplary embodiment of the present invention.

도면을 참조하여 설명하면, 서버 및 트래픽 부하를 모니터링한다(S310). 이러한 부하의 모니터링은, 제어부(130), 특히 제어부(130) 내의 측정/분석부(220)에서 수행될 수 있다.Referring to the drawings, the server and the traffic load is monitored (S310). Monitoring of such load may be performed by the control unit 130, in particular the measurement / analysis unit 220 in the control unit 130.

다음, 가동 서버 축소 결정 여부를 판단한다(S315). 제어부(130), 특히 제어부(130) 내의 정책 결정부(240)는, 서버의 CPU 사용율, 서비스 요청수, 예측된 시간당 부하량 중 적어도 하나에 기초하여, 가동 서버를 축소할지 여부를 결정한다. 즉, 기 설정된 임계치에 도달하였는 지 여부를 판단한다.Next, it is determined whether to reduce the operation server (S315). The control unit 130, in particular, the policy determination unit 240 in the control unit 130 determines whether to reduce the operation server based on at least one of the CPU usage rate of the server, the number of service requests, and the estimated hourly load amount. That is, it is determined whether the preset threshold has been reached.

다음, 중단 서버를 선정한다(S320). 제어부(130), 특히 제어부(130) 내의 정책 결정부(240)는, 서버의 CPU 사용율, 서비스 요청수, 예측된 시간당 부하량 중 적어도 하나에 기초하여, 복수의 서버(150) 중 그 동작을 중단할 서버를 선정한다. 예를 들어, 도 1에 도시된 복수의 서버(150) 중 제2 서버(150-2)가 동작 중지 결정될 수 있다.Next, an interruption server is selected (S320). The control unit 130, in particular, the policy determination unit 240 in the control unit 130 stops the operation among the plurality of servers 150 based on at least one of the CPU usage rate of the server, the number of service requests, and the estimated hourly load. Select a server to run. For example, the second server 150-2 of the plurality of servers 150 shown in FIG. 1 may be determined to stop operation.

다음, 해당 서버 신규 요청 할당을 중지한다(S325). 선정된 해당 서버로 신규 요청 할당을 중지하도록 스위치(110)를 제어한다. 이러한 동작은 제어부(130), 특히 제어부(130) 내의 스위치 제어부(225)에서 수행될 수 있다.Next, the server new request allocation is stopped (S325). The switch 110 is controlled to stop allocating a new request to the selected server. Such an operation may be performed by the controller 130, particularly the switch controller 225 in the controller 130.

다음, 서비스 종료 대기(S330), 및 해당 서버의 모든 서비스가 모두 종료되었는 지 여부를 판단하고(S335), 그에 해당하는 경우, 해당 서버의 가동을 중지한다(S340). 중단할 서버로 결정되었더라도, 그 즉시, 서버의 동작을 중지하는 것이 아니라, 이미 진행중인 서비스가 종료될 때까지 대기하였다가 선정된 서버의 동작을 중지(stop)하는 것이 바람직하다. 서버 가동의 중지는, 제어부(130), 특히 제어부(130) 내의 서버 제어부(230)에서 수행될 수 있다.Next, it is determined whether the service termination wait (S330), and all the services of the server is terminated (S335), and if so, the operation of the server is stopped (S340). Even if it is determined that the server is to be stopped, it is preferable not to stop the operation of the server immediately, but to wait until the service already in progress is terminated and to stop the operation of the selected server. The server operation may be stopped by the controller 130, in particular, by the server controller 230 in the controller 130.

한편, 제315 단계(S315) 이후에, 가동 서버 확대 여부를 판단하는 것도 가능하다(S350). 제어부(130), 특히 제어부(130) 내의 정책 결정부(240)는, 서버의 CPU 사용율, 서비스 요청수, 예측된 시간당 부하량 중 적어도 하나에 기초하여, 가동 서버를 확대할지 여부를 결정한다. 즉, 기 설정된 임계치에 도달하였는 지 여부를 판단한다.On the other hand, after step 315 (S315), it is also possible to determine whether or not to expand the operation server (S350). The control unit 130, in particular, the policy determination unit 240 in the control unit 130 determines whether to expand the operation server based on at least one of the CPU utilization rate of the server, the number of service requests, and the estimated hourly load amount. That is, it is determined whether the preset threshold has been reached.

다음, 재가동 서버를 선정한다(S360). 제어부(130), 특히 제어부(130) 내의 정책 결정부(240)는, 서버의 CPU 사용율, 서비스 요청수, 예측된 시간당 부하량 중 적어도 하나에 기초하여, 복수의 서버(150) 중 그 동작을 재가동할 서버를 선정한다. 예를 들어, 도 1에 도시된 복수의 서버(150) 중 이미 동작 중지된 제2 서 버(150-2)가 동작 재가동 결정될 수 있다.Next, a restart server is selected (S360). The control unit 130, in particular, the policy determination unit 240 in the control unit 130 restarts the operation among the plurality of servers 150 based on at least one of the CPU usage rate of the server, the number of service requests, and the estimated hourly load amount. Select a server to run. For example, the second server 150-2 that has already been suspended among the plurality of servers 150 shown in FIG. 1 may be determined to restart operation.

다음, 해당 서버의 가동을 요청한다 (S365). 이러한 동작은 제어부(130), 특히 제어부(130) 내의 서버 제어부(230)에서 수행될 수 있다.Next, request to start the server (S365). Such an operation may be performed by the controller 130, in particular, the server controller 230 within the controller 130.

다음, 서비스 가동 대기(S370), 및 해당 서버가 가동되었는 지 여부를 판단하고(S375), 그에 해당하는 경우, 재가동되는 서버에 신규 요청 할당을 시작하도록 스위치를 제어한다(S380). Next, it is determined whether the service is on standby (S370) and whether the corresponding server is up (S375), and if so, the switch is controlled to start a new request allocation to the server to be restarted (S380).

한편, 상술한 가동 서버의 축소 또는 재가동 여부는 주기적으로 판단할 수 있으며, 이에 따라 제315 단계(S315) 및 제350 단계(S350)의 어디에도 해당하지 않는 경우, 점검 주기 대기 단계(S355)를 수행하는 것이 가능하다.On the other hand, whether to reduce or restart the above-mentioned operation server can be determined periodically, and accordingly, if none of the step 315 (S315) and 350 (S350), performing the check cycle waiting step (S355) It is possible to.

한편, 도면에서는 제340 단계(S340) 및 제380 단계(S380) 이후 종료되는 것으로 도시하나, 이에 한정되지 않고, 상술한 점검 주기 대기 단계(S355)가 계속 수행되는 것이 가능하다. 즉, 서버 및 트래픽 부하를 모니터링하고(S310), 그 이후에 단계(S315~S380)가 주기적으로 반복될 수 있다.On the other hand, the drawing is shown to be terminated after the step 340 (S340) and step 380 (S380), but is not limited to this, it is possible to continue the above-described check cycle waiting step (S355). That is, the server and the traffic load is monitored (S310), and then steps S315 to S380 may be repeated periodically.

한편 본 발명의 구성은 서버 클러스터 환경에 대하여 적용이 제한되는 것이 아니라 L4 스위치를 통하여 동일한 기능의 장비를 배치하는 방화벽, IDS/IPS 상황에 적용이 가능하며, 부하분산을 위해 임의의 클러스터 환경에 구축하는 경우에 적용이 가능하다.한편, 본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.On the other hand, the configuration of the present invention is not limited to the application to the server cluster environment, but can be applied to the firewall, IDS / IPS situation that deploys the equipment of the same function through the L4 switch, it is built in any cluster environment for load balancing The present invention can also be embodied as computer readable codes on a computer readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner.

이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the invention as defined by the appended claims. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

도 1은 본 발명의 실시예에 따른 서버 클러스터를 도시한 도면이다.1 is a diagram illustrating a server cluster according to an exemplary embodiment of the present invention.

도 2는 도 1의 제어부의 간략한 내부 블록도이다.FIG. 2 is a simplified internal block diagram of the controller of FIG. 1.

도 3은 본 발명의 실시예에 따른 서버 클러스터의 전력 관리 방법을 도시한 순서도이다.3 is a flowchart illustrating a power management method of a server cluster according to an exemplary embodiment of the present invention.

Claims (14)

복수 서버 또는 스위치의 부하를 모니터링하는 단계;Monitoring the load of the plurality of servers or switches; 상기 복수 서버의 가동 서버 축소 여부를 결정하는 단계; Determining whether to reduce a number of movable servers of the plurality of servers; 상기 축소 결정에 따라 해당 서버의 동작을 중지하는 단계;Stopping the operation of the server according to the reduction determination; 상기 복수 서버의 가동 서버 확대 여부를 결정하는 단계; 및Determining whether to expand the plurality of operation servers of the plurality of servers; And 상기 확대 결정에 따라 해당 서버를 가동시키는 단계를 포함하고,Starting the server according to the enlargement decision; 상기 축소 여부 결정 단계는,The determining whether or not to shrink, 상기 서버의 사용율 및 서비스 요청수에 기초하여, 상기 가동 서버 축소 여부를 결정하고,Determining whether to reduce the movable server based on the utilization rate of the server and the number of service requests; 상기 확대 여부 결정 단계는,The determining whether to enlarge, 상기 서버의 사용율, 서비스 요청수 및 예측된 시간당 부하량에 기초하여, 상기 가동 서버 확대 여부를 결정하는 것을 특징으로 하는 서버 클러스터의 전력 관리 방법.And determining whether to expand the movable server based on the utilization rate of the server, the number of service requests, and the estimated hourly load amount. 삭제delete 제1항에 있어서,The method of claim 1, 상기 축소 결정에 따라 해당 서버에 신규 요청 할당을 중지하는 단계;를 더 포함하는 것을 특징으로 하는 서버 클러스터의 전력 관리 방법.And stopping allocating a new request to the corresponding server according to the shrinking decision. 제1항에 있어서,The method of claim 1, 상기 중지하는 단계는,The stopping step, 상기 해당 서버를 절전 모드로 강제 이행시키거나, 상기 해당 서버의 전원을 차단하거나, 상기 해당 서버로의 통신을 차단하는 것을 특징으로 하는 서버 클러스터의 전력 관리 방법.And forcibly transitioning the corresponding server to a power saving mode, cutting off the power of the corresponding server, or blocking communication to the corresponding server. 삭제delete 삭제delete 제1항에 있어서,The method of claim 1, 상기 확대 결정에 따라 해당 서버에 신규 요청을 할당하는 단계;를 더 포함하는 것을 특징으로 하는 서버 클러스터의 전력 관리 방법.And allocating a new request to the corresponding server according to the enlargement decision. 복수의 서버;A plurality of servers; 상기 복수 서버의 부하를 분산하는 스위치; 및A switch for distributing the load of the plurality of servers; And 상기 복수 서버 또는 스위치의 부하를 모니터링하고, 상기 복수 서버의 가동 축소 여부를 결정하며, 상기 축소 결정에 따라 해당 서버의 동작을 중지하도록 제어하고,Monitoring the load of the plurality of servers or switches, determining whether to reduce operation of the plurality of servers, controlling to stop the operation of the server according to the reduction determination, 상기 서버 클러스터의 가동 서버 확대 여부를 결정하고, 상기 확대 결정에 따라 해당 서버를 가동시키도록 제어하는 제어부;를 포함하고,And a controller configured to determine whether to expand the server cluster of the server cluster and to control the server to be operated according to the expansion decision. 상기 제어부는, Wherein, 상기 서버의 CPU 사용율 및 서비스 요청수에 기초하여, 상기 가동 서버 축소 여부를 결정하고,Determining whether to reduce the movable server based on the CPU utilization rate and the number of service requests of the server; 상기 서버의 CPU 사용율, 서비스 요청수 및 예측된 시간당 부하량에 기초하여, 상기 가동 서버 확대 여부를 결정하는 것을 특징으로 하는 서버 클러스터.And determining whether to expand the movable server based on the CPU utilization rate of the server, the number of service requests, and the estimated hourly load amount. 삭제delete 제8항에 있어서,9. The method of claim 8, 상기 스위치는, The switch, 상기 축소 결정에 따라 해당 서버에 신규 요청 할당을 중지하는 것을 특징으로 하는 서버 클러스터.And allocating a new request to the server according to the reduction decision. 제8항에 있어서,9. The method of claim 8, 상기 제어부는,Wherein, 상기 해당 서버의 동작 중지시, 상기 해당 서버를 절전 모드로 강제 이행시키거나, 상기 해당 서버의 전원을 차단하거나, 상기 해당 서버로의 통신을 차단하도록 제어하는 것을 특징으로 하는 서버 클러스터.And controlling the server to forcibly transfer the server to a power saving mode, cut off power of the server, or block communication with the server when the server stops operating. 삭제delete 삭제delete 제8항에 있어서,9. The method of claim 8, 상기 스위치는, The switch, 상기 확대 결정에 따라 해당 서버에 신규 요청을 할당하는 것을 특징으로 하는 서버 클러스터.And assigning a new request to the server according to the expansion decision.
KR1020090087676A 2009-09-16 2009-09-16 Method for managing power of the server cluster and the server cluster using the same KR101366750B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090087676A KR101366750B1 (en) 2009-09-16 2009-09-16 Method for managing power of the server cluster and the server cluster using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090087676A KR101366750B1 (en) 2009-09-16 2009-09-16 Method for managing power of the server cluster and the server cluster using the same

Publications (2)

Publication Number Publication Date
KR20110029833A KR20110029833A (en) 2011-03-23
KR101366750B1 true KR101366750B1 (en) 2014-02-24

Family

ID=43935668

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090087676A KR101366750B1 (en) 2009-09-16 2009-09-16 Method for managing power of the server cluster and the server cluster using the same

Country Status (1)

Country Link
KR (1) KR101366750B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101278878B1 (en) * 2011-07-06 2013-06-26 펌킨네트웍스(주) Method, apparatus and system for controlling server by changing power mode
KR20140089749A (en) 2013-01-07 2014-07-16 한국전자통신연구원 Apparatus and method for controlling load allocation of cluster

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030037268A1 (en) * 2001-08-16 2003-02-20 International Business Machines Corporation Power conservation in a server cluster

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030037268A1 (en) * 2001-08-16 2003-02-20 International Business Machines Corporation Power conservation in a server cluster

Also Published As

Publication number Publication date
KR20110029833A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
JP5301032B2 (en) Method, apparatus and system for controlling access point
CN108810100B (en) Method, device and equipment for electing master node
US7779410B2 (en) Control interfaces for distributed system applications
EP2728471B1 (en) Method and terminal for managing application
US8745425B2 (en) Computer system with blade system and management server
WO2010122709A1 (en) Rejuvenation processing device, rejuvenation processing system, computer program, and data processing method
JP2006508445A (en) Automatic power control policy based on application specific redundancy characteristics
US8903960B2 (en) Activate attribute for service profiles in unified computing system
US9106662B2 (en) Method and apparatus for controlling load allocation in cluster system
CN105024842A (en) Method and device for capacity expansion of server
JP2010161501A (en) Management system and management method of network
US9417909B2 (en) Scheduling work in a multi-node computer system based on checkpoint characteristics
CN102012836A (en) Process survival control method and device
KR101366750B1 (en) Method for managing power of the server cluster and the server cluster using the same
CN112235373A (en) Cloud desktop scheduling system based on application AI and scheduling method thereof
Fu et al. An efficient VNF deployment scheme for cloud networks
Rahmani et al. Burst‐aware virtual machine migration for improving performance in the cloud
US8745125B2 (en) Routing traffic after power failure
KR102201799B1 (en) Dynamic load balancing method and dynamic load balancing device in sdn-based fog system
JP5252571B2 (en) Network management system and management method
CN102523107A (en) Method and device for equalizing operating pressure of server side and client side of network management system
EP2528373B1 (en) Method, apparatus and system for reducing power consumption of service system
WO2012124295A1 (en) Computer system, control system, control method and control program
JP2011065469A (en) Distributed file system and node start-up method in distributed file system
JP5699589B2 (en) Process allocation device, process allocation system, process allocation method, process allocation program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170124

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180129

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190125

Year of fee payment: 6