ldirectord (LVS) 설치 및 운용
ldirectord (LVS 프로젝트) 설치yum install heartbeat 혹은 yum install heartbeat* heartbeat 패키지에 같이 포함되어 있음 방식masq : NAT 방식 gate : Direct Routing 방식 설정 예제 /etc/ldirectord.cf checktimeout=3 checkinterval=1 autoreload=yes logfile="/var/log/ldirectord.log"quiescent=no - yes 로 되어 있으면 웹서버 죽으면 weight 값만 0으로 만들며 no로 설정시 아예 real=XXX.XXX.26.4:80 masq 1 설정 자체를 빼버려 포워딩이 되지 않는다.( sourece hashing 방식에서는 no로 설정해놓고 사용하자)..
LAYER 4 & 7
2015. 5. 21. 09:03
공지사항