Hi i got a problem with the guide
How To Set Up A Loadbalanced High-Availability Apache Cluster
it dosent redirect to the virtual ip address and ipvsadm -L -n gives me this
Quote:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.106:80 rr
-> 192.168.1.35:80 Route 0 0 0
-> 192.168.1.38:80 Route 0 0 0
-> 127.0.0.1:80 Local 1 0 5
|
My configuration
/etc/ha.d/ha.cf
logfacility local0
bcast eth0 # Linux
mcast eth0 225.0.1.1 694 1 0
auto_failback off
node wendecoserver1
node wendecoserver2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
/etc/ha.d/haresources
wendecoserver1 \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master \
IPaddr2::192.168.1.106/24/eth0/192.168.1.255
/etc/ha.d/ldirectord.cf
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes
virtual=192.168.1.106:80
real=192.168.1.38:80 gate
real=192.168.1.35:80 gate
fallback=127.0.0.1:80 gate
service=http
request="ldirector.php"
receive="Connected to MySQL"
scheduler=rr
protocol=tcp
checktype=negotiate
Can anybody help me. need the servers to be redy and functional in a few days and fly them to stockholm to the server center :$
Recent comments
1 day 12 hours ago
1 day 14 hours ago
2 days 2 hours ago
2 days 5 hours ago
2 days 9 hours ago
2 days 15 hours ago
3 days 1 hour ago
3 days 2 hours ago
3 days 11 hours ago
3 days 12 hours ago