"HAProxy"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 |
잔글 |
||
26번째 줄: | 26번째 줄: | ||
== HAProxy 설치 == | == HAProxy 설치 == | ||
− | + | [[CentOS|CentOS]]에서 HAProxy를 설치 합니다. | |
− | + | {| cellspacing="1" cellpadding="1" style="color: rgb(0, 0, 0); font-family: sans-serif; line-height: 20.7999992370605px; width: 771px;" | |
+ | |- | ||
+ | | style="background-color: rgb(241, 241, 241);" | | ||
+ | yum install haproxy | ||
− | + | service haproxy start<br/> #chkconfig haproxy on | |
− | + | |} | |
− | |||
− | |||
− | + | HAProxy 설정 파일 | |
− | + | ||
− | + | */etc/haproxy/haproxy.cfg | |
− | |||
− | |||
== HAProxy 설정 == | == HAProxy 설정 == |
2014년 9월 20일 (토) 13:15 판
LoadBalance와 Proxy 기능을 제공하는 HAProxy를 정리 합니다.
- 홈페이지 :
- 다운로드 :
- 라이선스 :
- 플랫폼 :
HAProxy 개요
HAProxy는 L4 Switch, L7 Switch와 Load Balance 기능을 소프트웨어적으로 제공 한다. 초당 8만건의 트래픽을 처리 한다.
Load Balance 기술
- NAT (Network Address Translation)
- DSR (Dynamic Source Routing)
- Tunneling
Load Balance 동작 모드
- Bridge/Transparent Mode : 목적지 IP와 MAC 주소를 재설정
- Router Mode : 출발지와 목적지의 IP와 MAC 주소를 재설정
- One Arm Mode : 목적지 IP와 MAC 주소를 재설정, 응답시 IP pool의 주소를 사용
- DSR (Direct Server Return) Mode : 목적지 MAC 주소를 재설정
HAProxy 설치
CentOS에서 HAProxy를 설치 합니다.
yum install haproxy service haproxy start |
HAProxy 설정 파일
- /etc/haproxy/haproxy.cfg