동적 가중치에 기반을 둔 LVS 클러스터 시스템의 부하 분산에 관한 연구

A study of distributing the load of the LVS clustering system based on the dynamic weight

  • 김석찬 (계명대학교 대학원 산업공학과) ;
  • 이영 (계명대학교 산업공학과)
  • Kim, Suk-Chan (Dept.of Industry Engineering, Keimyung University) ;
  • Rhee, Young (Dept.of Industry Engineering, Keimyung University)
  • 발행 : 2001.12.01

초록

본 연구에서는 리눅스 가상 서버(LVS:Linux Virtual Server) 클러스터 시스템에서 실제 서버의 상태에 기초한 사용자의 요청을 분배하는 방법론을 연구하고자 한다. LVS 클러스터 시스템에서 사용자의 요청을 분배하는데 적용되는 기존 WLC(Weighted Least Connection) 방법론이 검토되었고, 실제 서버의 부하를 고려하여 각 서버에 요청을 할당하는 부하 분산 방법론을 제안하고자 한다. 부하 측정을 위한 실험은 가상의 부하를 생성하는 툴을 사용하여 서버에 부하를 부과하여 실행되었다. 본 연구에서 제시된 부하 분산 방법론이 기존의 WLC 방법론보다 실제 서버의 메모리 사용측면에서 효율을 기대할 수 있어 제안하고자 하며, 또한 서버 자원을 균형적으로 분배시키고 가중치의 변화에 대한 교정력(correction potentiality)이 어느 정도 개선됨을 확인할 수 있었다.

In this paper, we study the methodology of distributing the requests of clients based on the state of real server in the LVS(Linux virtual server) clustering system. The WLC(weighted least connection) algorithm in the LVS cluster system is studied. The load distributing algorithm which assigns a weight into each real server is devised by considering the load of real servers. The load test is executed to estimate the load of real servers using a load generating tool. Throughout the result of the experiment, we suggest new load distributing algorithm based on the usage of physical memory of each real server. It is shown that the correction potentiality of new algorithm is somewhat better than that of the WLC algorithm.

키워드

참고문헌

  1. 권원상, 역, '웹 성능 최적화 by Patrtick Killelea,' 한빛미디어, 2000
  2. 김영식, 강윤석, 역, 'perl 제대로배우기 by Randal L. Schwartz & Tom Christiansen,' 한빛미디어, 1999
  3. 김영식 외2인, 역, 'perl 프로그래밍 by Larry Wall,' 한빛미디어, 1998
  4. 문정훈, 역, 'MySQL과 mSQL by Randy Jay Yarger, George Reese & Tim King,' 한빛미디어, 2000
  5. 박창민, 역, 'TCP/IP 네트워크관리 by Craig Hunt,' 한빛미디어, 1999
  6. 윤석범, 'CGI와 PHP,' 도서출판 대림, 1999
  7. 장훈, 역, '시스템 관리의 핵심 by AEleen Frisch,' 한빛미디어, 1998
  8. 한동훈, 이만용, 역, 'Linux programing by Neil Matthew, Richard Stones,' 도서출판 대림, 1998
  9. Daniel A. Menasce, virgilio A.F.Almeida, 'Capacity Planning for WEB PERFORMANCE,' Prentice Hall PTR, 1998
  10. J. Purcell, 'Linux Complete Command Reference,' Redhat press, 1997
  11. Mike Loukides, 'System Performance Tuning,' O'Reilly, 1990
  12. Olaf Kirch, 'The Linux Network Adminisurator's Guide,' O'Reilly, 1994
  13. PLATINUM, 'WebLoad User Guide,' PLATINUM, 1997
  14. Wensong Zhang, Shiyao Jin, Quanyuan Wu, 'Creating Linux Virtual servers,' Ottawa Linux symposium 2000, 2000
  15. 인터넷 통계 서비스, http://www.i-biznet.co.kr/inet/inet-19990628190801.htm
  16. 정하녕, 역, 'NET3-4-HOWTO by Terroy Dawson,' http://kldp.org/HOWTO/html/NET3 4 HOWTO.html
  17. Joseph Mack, Wensong Zhang, 'The Linux Virtual Server HOWTO,' http://www.linuxvirtualserver.org/Joseph.Mack/LVS-HOWTO·991205.gz, 1999