um and lvs help
"Kirk" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Organization | Hot Perl Jobs |
| Message-ID | <[email protected]> |
All,
I am running a Linux server "Red Hat Enterprise Linux ES release 3 (Taroon
Update 4)" and have loaded the tools from "Ultra Monkey" (rpm install). The
only configuration changes made after the above install were to set the
sysctl file with:
net.ipv4.ip_forward = 1
and I ran the "sysctl -p" command as directed.
I also want to use LVS (since it looks so easy to use) so I loaded the
latest LVS tools and made my lvs-kiss.cnf file to look like this:
<VirtualServer 20.20.30.21:80>
ServiceType tcp
Scheduler wlc
DynamicScheduler 1
Persistance 0
QueueSize 2
Fuzz 0.1
<RealServer 20.20.30.19:80>
PacketForwardingMethod gatewaying
Test webtest.pl --url http://20.20.30.19/
RunOnFailure "echo failed | mail -s 'web2 alert' [email protected]"
RunOnRecovery "echo online | mail -s 'web2 alert' [email protected] "
</RealServer>
</VirtualServer>
I've configured the real servers with arptables which appears to work
(results from the original www connection, see below).
I can fire up lvs-kiss and look at the status with "lvs-kiss-control status"
and everything looks fine. I can also see results from "ipvsadm" and it too
looks okay. So I make a www connection and it appears to work except soon
after, perhaps 10-15 seconds or so, the virtual server (linux redirector)
freezes up and I can no longer access the box, ssh nor a direct console
connection. It's as if the box just completely shuts down, other then the
www connection stays active. Very weird.
Am I missing something here? Do I need to patch the kernel or something to
get this to work? "Uname -a" produces:
2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
I can post any other configuration files is necessary, please let me know as
any help from anyone would be appreciated.
Thanks,
Kirk
--
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.