On Tue, Nov 14, 2000 at 11:48:35AM -0500, Keith Barrett wrote:
> >I'm new in LVS and cluster can I using LVS on my 2
> >ipchains with NAT firewall box's doing fail over,
> >behind firewall have two apache and two sendmail is
> >that design work? >so do i need to install LVS on my
> >sendmail box and apache box's or just the firewall box's?
>
> You would be beter off asking these questions in the lvs mailing
> list.
All: Apologies for the cross-post. This really is an LVS question
so subsequent replies should probably go to that list alone.
> Basically; your web stuff should be simple, but sendmail
> could get complicated.
Agreed. The main thing to watch out for when puting sendmail behind LVS is
that you will need to turn off ident verification by sendmail. I believe
this is covered in the LVS HOWTO available from
http://www.linuxvirtualserver.org/
> To do most of this, you will need a basic understanding of
> tcp communications and services, as well as Linux system
> administration.
>
> >did i have to using send = "GET / HTTP/1.0\r\n\r\n in my
> >firewall box's?
>
> This is a piranha specific thing. You can use any send/expect
> string you want (within certain rules), or none at all (which
> will just test the service by connecting to it rather than
> talking to it). I'd start off with no send/expect and get that
> working, then figure out how to include it if you want to.
>
> >i don't understand this script port = http
>
> This is a hold-over from earlier piranha releases. It just
> means port = 80 (which is the typical httpd port for
> web services).
>
> >send = "GET / HTTP/1.0\r\n\r\n" expect = "HTTP"
> >when i need using those script
> >is this using in fail over web server?
>
> You actually don't need to do it at all, it's just an
> additional test to ensure the service is running AND
> functioning. It is part of monitoring services on the
> real servers in an lvs setup.
Can I assume from this that by using an appropriate send and recieve string
Piranha could be configured to monitor an SMTP server?
It is of note that, it _may_ be sufficiecent to just monitor the HTTP
aspect of the server and assume that if this is functioning then SMTP is as
well. Possibly a base assumption, possibly not. In any case if you are
prepared to make this assumption then you can use a single fwmark based
virtual service to handle both HTTP and SMTP.
For information on fwmark services take a look at the ipvsadm man page
shipped with LVS 1.0.0beta1 (or later) as available from
http://www.linuxvirtualserver.org/ . I don't believe Piranha supports this
feature of LVS but I will stand corrected.
--
Horms
|