Balance

Posted by admin on May 12, 2010 in Database, Unix |

Balance (http://www.inlab.de/balance.html) is a useful tool to route TCP to another server. Consider a server A that can not get to server C directly due to firewall rules but can get to Server B. Server B will act as a proxy.

If I am routing oracle commands on port 1521, I would start it up on Server B as

balance -f 1521 myoracleserver:1521

Then instead of trying to connect to myoracleserver (server C), I will connect to the proxy server (Server B).

By default balance will attempt to write some files to privileged directories as root but can be run as a normal user if you compile it yourself. Edit the balance.h header file and change #define SHMDIR to something you own.

I’ve tried it on Linux and Windows using Cygwin and its great but under Cygwin I needed to use the -M option.

Leave a Reply

XHTML: You can use these tags:' <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Copyright © 2008-2017 Brinsmead Data Services All rights reserved.