On Mon, 2 Jul 2007, Nick Stephens wrote: > Hi all, > > I have setup a test environment for determining if VLS would be a good
LVS > CentOS 5 server setup [weblb.domain.com] as primary VLS router (no backup > in the lab yet) with one external IP address (no internal) using Direct > routing with IPTables marking port 80/443 traffic with "80" hmm don't know what this last line means. Are you scheduling LVS with fwmarks? > 2 CentOS 5 webservers setup [web01 and web02] with one external IP each > and IPTables setup for PREROUTING information. it's best to try setting up an LVS without iptables, then add the rules after it's working. > When I create my intial connection to the VIP, it passes me correctly to > one of the machines. However, if I shutdown apache on that box, or > poweroff the machine entirely, I am never redirected to the online box, > nor do any alarms go off. > > I am using the default monitoring script included, there's a million distros out there and you must excuse me if I have no idea what the default script for yours is. > and I can see it opening port 80 on both web01 and web02 > (by looking at apache access logs), but it doesn't seem to > want to fail over. Furthermore, if I manually go in and > deactivate a Real Server, it still continues to try to > send traffic to it. > > I have looked around on Redhat's site and the web for > general debugging and troubleshooting guides, but I am at > a bit of a loss. Does anyone have any suggestions on > where to start looking? How about in the LVS HOWTOs Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
