cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Brenton Rothchild <brentonr@dorm.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] LVS port translation
Date: Mon, 09 Oct 2006 10:18:26 -0500	[thread overview]
Message-ID: <452A6842.5020608@dorm.org> (raw)
In-Reply-To: <452A5CD3.60500@cesca.es>

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,
> 



  reply	other threads:[~2006-10-09 15:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-09 14:29 [Cluster-devel] LVS port translation Jordi Prats
2006-10-09 15:18 ` Brenton Rothchild [this message]
2006-10-09 19:56   ` [Linux-cluster] " Jordi Prats

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=452A6842.5020608@dorm.org \
    --to=brentonr@dorm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).