cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] LVS port translation
@ 2006-10-09 14:29 Jordi Prats
  2006-10-09 15:18 ` Brenton Rothchild
  0 siblings, 1 reply; 3+ messages in thread
From: Jordi Prats @ 2006-10-09 14:29 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi all,
It's possible to configure piranha to allow to define a different port 
on real servers using NAT?

Using ipvsadm would be:

/sbin/ipvsadm -a -t 123.456.789.1:80 -r 192.168.10.1:82 -m -w 1

On the current version is not possible, there is any patch to allow 
this? If there is not, I could do it. Would it be accepted as a 
contribution on main distribution? Witch roules would I have to follow?

Thanks,

-- 
......................................................................
         __
        / /          Jordi Prats
  C E / S / C A      Dept. de Sistemes
      /_/            Centre de Supercomputaci? de Catalunya

  Gran Capit?, 2-4 (Edifici Nexus) ? 08034 Barcelona
  T. 93 205 6464 ? F.  93 205 6979 ? jprats at cesca.es
...................................................................... 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cluster-devel] LVS port translation
  2006-10-09 14:29 [Cluster-devel] LVS port translation Jordi Prats
@ 2006-10-09 15:18 ` Brenton Rothchild
  2006-10-09 19:56   ` [Linux-cluster] " Jordi Prats
  0 siblings, 1 reply; 3+ messages in thread
From: Brenton Rothchild @ 2006-10-09 15:18 UTC (permalink / raw)
  To: cluster-devel.redhat.com

What version of piranha are you using?  I have a patch
against piranha-0.8.1 and piranha-0.8.2 that I've been using
in heavy production for about 9 months now.

We just added a "port" value to real server sections in the lvs.cf file, i.e.

virtual server_XYZ {
     address = 123.456.789.1 eth0
     active = 1
     port = 80
     ... (additional options) ...

     server node-X {
         address = 192.168.10.1
         port = 82
         active = 1
         weight = 1
     }

     ...
}

I can send the patch to the list if you're interested - shouldn't be
too hard to patch against other versions (I haven't looked to see if the
RPMs have been updated lately.)

-Brenton Rothchild

Jordi Prats wrote:
> Hi all,
> It's possible to configure piranha to allow to define a different port 
> on real servers using NAT?
> 
> Using ipvsadm would be:
> 
> /sbin/ipvsadm -a -t 123.456.789.1:80 -r 192.168.10.1:82 -m -w 1
> 
> On the current version is not possible, there is any patch to allow 
> this? If there is not, I could do it. Would it be accepted as a 
> contribution on main distribution? Witch roules would I have to follow?
> 
> Thanks,
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Linux-cluster] Re: [Cluster-devel] LVS port translation
  2006-10-09 15:18 ` Brenton Rothchild
@ 2006-10-09 19:56   ` Jordi Prats
  0 siblings, 0 replies; 3+ messages in thread
From: Jordi Prats @ 2006-10-09 19:56 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi,
It would be great if you could send it to me! There's any reason why it
is not included in main distribution?

If there's any thing left to do I could try to do it because I prefere
not to depen on a patch to upgrade.

Thank you!
Jordi

Brenton Rothchild wrote:
> What version of piranha are you using?  I have a patch
> against piranha-0.8.1 and piranha-0.8.2 that I've been using
> in heavy production for about 9 months now.
> 
> We just added a "port" value to real server sections in the lvs.cf file,
> i.e.
> 
> virtual server_XYZ {
>     address = 123.456.789.1 eth0
>     active = 1
>     port = 80
>     ... (additional options) ...
> 
>     server node-X {
>         address = 192.168.10.1
>         port = 82
>         active = 1
>         weight = 1
>     }
> 
>     ...
> }
> 
> I can send the patch to the list if you're interested - shouldn't be
> too hard to patch against other versions (I haven't looked to see if the
> RPMs have been updated lately.)
> 
> -Brenton Rothchild
> 
> Jordi Prats wrote:
>> Hi all,
>> It's possible to configure piranha to allow to define a different port
>> on real servers using NAT?
>>
>> Using ipvsadm would be:
>>
>> /sbin/ipvsadm -a -t 123.456.789.1:80 -r 192.168.10.1:82 -m -w 1
>>
>> On the current version is not possible, there is any patch to allow
>> this? If there is not, I could do it. Would it be accepted as a
>> contribution on main distribution? Witch roules would I have to follow?
>>
>> Thanks,
>>
> 
> -- 
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 
> 

-- 
......................................................................
        __
       / /          Jordi Prats Catal?
 C E / S / C A      Departament de Sistemes
     /_/            Centre de Supercomputaci? de Catalunya

 Gran Capit?, 2-4 (Edifici Nexus) ? 08034 Barcelona
 T. 93 205 6464 ? F.  93 205 6979 ? jprats at cesca.es
......................................................................
pgp:0x5D0D1321
......................................................................



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-09 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-09 14:29 [Cluster-devel] LVS port translation Jordi Prats
2006-10-09 15:18 ` Brenton Rothchild
2006-10-09 19:56   ` [Linux-cluster] " Jordi Prats

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).