°Ô½Ã¹° 1,369°Ç
   
¸ðµç Æ÷Æ®Æ÷¿öµù lvs + fwmark + mangle
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2013-06-19 (¼ö) 18:15 Á¶È¸ : 7804
±ÛÁÖ¼Ò :
                                
LVS DR 
SH ¾Ë°í¸®Áò


*mangle
:PREROUTING ACCEPT [927:63539]
:INPUT ACCEPT [909:60841]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [738:60830]
:POSTROUTING ACCEPT [738:60830]
-A PREROUTING -d xxx.xxx.xxx.86 -i eth0 -j MARK --set-mark 0x1
COMMIT

[root@L4 ha.d]# cat /etc/ha.d/ldirectord.cf
checktimeout=3
checkinterval=3
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=no

virtual=1
       scheduler=sh
       checktype=connect
       protocol=fwm
       checkport=80   # Çコüũ Æ÷Æ®ÁöÁ¤
        real=xxx.xxx.xxx.100 gate 1
        real=xxx.xxx.xxx.101 gate 1


[root@L4 ha.d]# ipvsadm -ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  1 sh
  -> xxx.xxx.xxx.100:0              Route   1      0          1
  -> xxx.xxx.xxx.101:0              Route   1      4          1



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.