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