Re: Piranha 0.7.0-3 support for Direct Routing and non-http/ftp service

pb <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
Hello Chee Chye,

My strong suggestion is you use Red Hat Linux 7.3
not 8.0. (Apache v2 and PHP levels in 8.0 seem to
really mess with Piranha GUI.)  And do your errata &
kernel updates to 7.3 also. You will install ipvsadm,
piranha, scsi-reserve packages and also make sure you
have these for RUP (ARP) load monitoring:

nfs-utils-0.3.3-5  (rpc.statd)
ucd-snmp-4.2.5-7.73.0 (snmpd)
rusers-server-0.17-12 (rpc.rstatd)
(though you can set load monitoring to none instead of
rup but get better results with rup)

In Red Hat 7.3 you will still need to apply a
minor/simple fix to make the Piranha GUI work, which
is this (after installing Piranha package):

cd /usr/bin
ln -s /sbin/ipvsadm ipvsadm
chmod +s ipvsadm 

For ease of configuration of Linux itself, you can
install WEBMIN from www.webmin.com.  I wish Red Hat
would include it with their distros. Just don't leave
it running all the time.  Only when you need it.
(/etc/rc.d/init.d/webmin start/stop)  You can easily
configure boot-time scripts, etc.  

Peter
PB's Nutshell Howto Piranha/LVS
http://baitz.com/lvs.html


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- ong cheechye <[email protected]> wrote:
> 
> Thanks Sebastien and Peter. 
> I just want to familiarise with Piranha using a
> simple setup without public network i.e for direct
> routing and single private network. So I can remove
> the entries regarding primary=,backup= and
> nat_router= as there is no public network and nat
> router in my setup).
> I was thinking of manually editing the lvs.cf file
> as I read about piranha-gui seems to have problem
> with linux 8.0. If that is not true, then i will use
> it.
> Thanks
> Chee Chye
>  Sébastien Bonnet <[email protected]>
> wrote:> i.e client, director, real servers are all
> in the same network
> > (i.e all having ip address 192.168.XXX.XXX).
> > Is this possible with piranha ? 
> 
> Sure it is ! You'll just have to handle the ARP
> problem (please refer to
> the quite detailled HOWTO on
> http://linuxvirtualserver.org/
> 
> > If so, how do I configure the lvs.cf as there are
> entries pertaining
> > to NAT (Can I leave them out) ?
> 
> What do you mean ? You want to keep you existing NAT
> setup and add a DR
> setup, or replace the NAT setup by the DR setup ?
> 
> Earlier solution : write another lvs.cf, say
> lvs-dr.cf, and start pulse
> manually like this :
> /usr/sbin/pulse -c /etc/sysconfig/ha/lvs-dr.cf
> Don't forget to change heartbeat_port
> 
> Later solution, I guess you're just bother about
> nat_router (or whatever
> it's called). You can remove or keep them, it won't
> matter. But as long
> as it won't be used, I suggest you remove them,
> it'll cleaner.
> 
> > Is there any document or example lvs.cf for
> Piranha+DirectRouting
> > setup ?
> 
> You should not need that. As Peter said, use
> piranha-gui for a while and
> you'll soon know how to manually write lvs.cf.
> 
> > Does Piranha support service other than FTP/HTTP
> (like my own
> > written service) ? 
> 
> Of course. You'll just have to tweak the send and
> expect parameters of
> your virtual server in order to match your own
> protocol, or use an
> external script.
> 
> -- 
> Sébastien Bonnet
> Centre de contacts - Experian France
> 
> 
> 
> _______________________________________________
> Piranha-list mailing list
> [email protected]
>
https://listman.redhat.com/mailman/listinfo/piranha-list
>  Yahoo! Travel
> - Valentine surprise deals. Book now!

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
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.