Re: LVS in RedHat 8.0 - required components

"Peter J. Milanese" <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
I agree with all of this Sebastien...

On Wed, 23 Apr 2003, [iso-8859-1] Sébastien Bonnet wrote:

> > You would add to your lvs.cf config file and rc.lvs
> > script. That is, all protocols (ports) need to be
> > added to those files. See my example lvs.cf and rc.lvs
> > on my website.
>
> I wouldn't suggest using your rc.lvs because of several points :
> * it uses ipvsadm whereas it shouldn't (it piranha's role)
> * it mixes virtual server commands, filtering commands, routing commands
> * it starts daemons which do have initscripts

Although the script may help in the olddays, where everything was much
less matured and manageable, it is not necessary now. Quite frankly, it may
confuse new users.

>
> Form my point of view:
> * everything related to iptables should be moved to
> /etc/sysconfig/iptables and the iptables service should be activated
> * sysctl variables should be set in /etc/sysctl.conf only
> * no ipvsadm stuff, piranha will manage it by itself, just activate the
> pulse service
> * piranha-gui is also a service, activate it

Ack. This is all you need!

>
> > Also, if you're users are using http to get to a LOGIN webpage, you
> > also have to consider adding persistance = 900 to your lvs.cf for
> > http service, but that is another story.
>
> This is based on the assumption that session tracking is real server
> bound, which is obviously and fortunately not always true. Just think DB
> or file sharing.

Or the ever popular (and old) cookie based...

>
> > Since you are starting "lvs" daemon by executing the "pulse" daemon
> > (which is also true in my rc.lvs script)
>
> It's not ! The uncommented line is :
> /usr/sbin/lvs --configfile=/etc/sysconfig/ha/lvs.cf
>
>
> --
> Sébastien Bonnet
>   Centre de contacts - Experian France
>
>
>
> _______________________________________________
> Piranha-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/piranha-list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.