Hey all:
Based on the need to have load-balanced and redundant Apache servers, I
decided to try my hand at getting Wackamole running, but I've run into some
issues.
I should first post a disclaimer that I am not a programmer, and fully
expect this to turn out to be a misconfiguration on my part... :)
For testing purposes, I have two servers running Red Hat 7.3 with all the
latest patches. Here is my conf file (there is only one line difference per
machine, see comments):
Spread = 4803
SpreadRetryInterval = 5s
Group = dev
Control = /var/run/wack.it
prefer eth0:192.168.1.80/24 # this line is eth0:192.168.1.81/24 on the other
machine
VirtualInterfaces {
eth0:192.168.1.80/24
eth0:192.168.1.81/24
}
Arp-Cache = 90s
Notify {
eth0:192.168.1.1/32
eth0:192.168.1.13/32
eth0:192.168.1.10/32
arp-cache
}
balance {
AcquisitionsPerRound = 1
interval = 4s
}
mature = 5s
When I fire up wackamole, the first server to load gets BOTH IP addresses.
Of course, when it dies, it passes BOTH on to the second machine. This
(obviously) doesn't help much with load-balancing. :) I am sure that I just
configured something wrong, but I've read the mail archives, and can't seem
to figure it out. Any help would be much appreciated.
Thank you!
---------------
Ben Brown
Network & Systems Administrator
The Video Journal of Education & TeachStream
ben.brown@teachstream.com
Office: 800.572.1153
Fax: 888.566.6888
Based on the need to have load-balanced and redundant Apache servers, I
decided to try my hand at getting Wackamole running, but I've run into some
issues.
I should first post a disclaimer that I am not a programmer, and fully
expect this to turn out to be a misconfiguration on my part... :)
For testing purposes, I have two servers running Red Hat 7.3 with all the
latest patches. Here is my conf file (there is only one line difference per
machine, see comments):
Spread = 4803
SpreadRetryInterval = 5s
Group = dev
Control = /var/run/wack.it
prefer eth0:192.168.1.80/24 # this line is eth0:192.168.1.81/24 on the other
machine
VirtualInterfaces {
eth0:192.168.1.80/24
eth0:192.168.1.81/24
}
Arp-Cache = 90s
Notify {
eth0:192.168.1.1/32
eth0:192.168.1.13/32
eth0:192.168.1.10/32
arp-cache
}
balance {
AcquisitionsPerRound = 1
interval = 4s
}
mature = 5s
When I fire up wackamole, the first server to load gets BOTH IP addresses.
Of course, when it dies, it passes BOTH on to the second machine. This
(obviously) doesn't help much with load-balancing. :) I am sure that I just
configured something wrong, but I've read the mail archives, and can't seem
to figure it out. Any help would be much appreciated.
Thank you!
---------------
Ben Brown
Network & Systems Administrator
The Video Journal of Education & TeachStream
ben.brown@teachstream.com
Office: 800.572.1153
Fax: 888.566.6888