Hay Falko!
a great thanks for ur nice help in this issue,(ldirector).
dear i have one more problem for complete this task.
I have done spaces/tabs in front of each line in ldirector.cf
virtual=192.168.100.100:80
now service of ldirector has stared successfuly.
but when i want for checking following steps ,,,
i am fail.
5 Test The Load Balancers
now check both load balancers work as expected:
loadb1/loadb2:
ip addr sh eth0
The active load balancer should list the virtual IP address (192.168.100.100):
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0b:cd:ff:d0:32 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.30/8 brd 10.255.255.255 scope global eth1
inet 192.168.100.100/24 brd 192.168.100.255 scope global eth1
inet6 fe80::20b:cdff:feff:d032/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
The hot-standby should show this:
1: link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 192.168.100.100/32 brd 255.255.255.255 scope global lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:30:84:37:83:18 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.21/8 brd 10.255.255.255 scope global eth1
inet6 fe80::230:84ff:fe37:8318/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
ldirectord ldirectord.cf status
Output on the active load balancer:
ldirectord for /etc/ha.d/ldirectord.cf is running with pid: 5650
Output on the passive load balancer:
ldirector is stopped for /etc/ha.d/ldirector.cf
ipvsadm -L -n
Output on the active load balancer:
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
Output on the hot-standby:
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
7 Further Testing
You can now access the web site that is hosted by the two Apache nodes by typing
http://192.168.100.100 in your browser.
still not response.
plz compare my out-put with ur document results ...
waiting for ur quick and nice reply..
thanks again.
Recent comments
12 hours 44 min ago
13 hours 44 min ago
17 hours 31 min ago
18 hours 45 min ago
22 hours 21 min ago
1 day 5 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 7 hours ago
2 days 9 hours ago