Re: LVS in RedHat 8.0 - required components
Sébastien Bonnet <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
> 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 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 > 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. > 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