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

Sébastien Bonnet <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
> 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
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.