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

ong cheechye <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
I guess I can't remove the primary= and backup= as my private DIP address will now become the public network address , right ?
 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!

 Yahoo! Travel
- Valentine surprise deals. Book now!
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.