Hi,
I have two servers in "Streamline Highly Availability and Load Balancing"
mode
(see www.ultramonkey.org)
All works well in production environment since 3 months.
Good results from ipvsadm command
********************************************************
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.49.65.114:http rr
-> clusterrev2:http Route 1 8 60
-> clusterrev1:http Local 1 6 70
TCP 10.49.65.115:http rr
-> clusterrev2:http Route 1 7 51
-> clusterrev1:http Local 1 9 61
TCP 10.49.65.114:https rr
-> clusterrev2:https Route 1 5 40
-> clusterrev1:https Local 1 7 47
TCP 10.49.65.115:https rr
-> clusterrev2:https Route 1 4 70
-> clusterrev1:https Local 1 5 59
**************************************************************
I have upgraded heartbeat 1.2.2 (www.linux-ha.org)
And I obtain these very bad results :(
********************************************************
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.49.65.114:http rr
-> clusterrev2:http Route 1 6 120
-> clusterrev1:http Local 1 5 131
TCP 10.49.65.115:http rr
TCP 10.49.65.114:https rr
-> clusterrev2:https Route 1 8 230
-> clusterrev1:https Local 1 7 238
TCP 10.49.65.115:https rr
**************************************************************
ldirectord doesn't monitor the second site so I rollback to heartbeat
1.2.0 and All is OK.
# Global Directives
checktimeout=10
checkinterval=2
#fallback=127.0.0.1:80
autoreload=no
logfile="/var/log/ldirectord.log"
logfile="local0"
quiescent=yes
# Virtual Server for HTTP
virtual=10.49.65.114:80
# fallback=127.0.0.1:80
real=10.49.65.112:80 gate
real=10.49.65.113:80 gate
service=http
request=".testpage"
receive="Test Page"
# scheduler=sh
scheduler=rr
#persistent=600
protocol=tcp
checktype=negotiate
# Virtual Server for HTTP
virtual=10.49.65.115:80
# fallback=127.0.0.1:80
real=10.49.65.112:80 gate
real=10.49.65.113:80 gate
service=http
request=".testpage"
receive="Test Page"
# scheduler=sh
scheduler=rr
#persistent=600
protocol=tcp
checktype=negotiate
etc......
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
|