balance-general Mailing List for balance
Brought to you by:
inlabnetworks,
obermair
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(3) |
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(8) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
(1) |
| 2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
|
| 2009 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2011 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ben K. <be...@fl...> - 2011-05-27 16:56:11
|
Hi Thomas - Thanks for this suggestion. I've compiled balance 3.36 using Cygwin on Windows 7 - this looks like the last version without IPv6 support according to the "Latest changes" listed at http://www.inlab.de/balance.html Despite this, the "Bad system call" message still occurs attempting to start balance listening on a port - it doesn't matter if the port is in the privileged or non-privileged range: [klaasenb@win7box:~]$ balance -f 80 win7box:8080 Bad system call I've tried opening a command prompt as Admin and running balance from there, to no avail - in this case, it simply returns with no error, despite specifying that it should run in the foreground: C:\cygwin\usr\sbin>balance -f 8011 10.68.73.125:8080 C:\cygwin\usr\sbin> Any light you can cast on this would be appreciated. I've been using balance for years on Linux, Solaris and earlier versions of Windows, so it's a shame to see it break on Win 7. (ptoo) regards Ben *Re: [balance-general] balance on Windows?<http://sourceforge.net/mailarchive/message.php?msg_id=27020238> * From: Thomas Obermair <thomas.obermair@in...> - 2011-02-07 08:46 Hi, please try an older release without IPv6 support (AFAIR is IPv6 not supported by Cygwin). HTH + Best Regards, Thomas Thomas Obermair Inlab Software GmbH, http://www.inlab.de Josef-Wuerth-Str. 3, 82031 Gruenwald, Germany Amtsgericht Muenchen, HRB 94795 Geschaeftsfuehrer (CEO): Thomas Obermair On 07.02.2011, at 06:48, Christian Kreibich <christian@...> wrote: > Hi there, > > I'm trying to use balance3.54 on a Windows 7 box under Cygwin. It built > fine, but no matter how I start it, it aborts with a "Bad System Call" > error. Is this a known problem? balance works fine for me on Linux, but > for various reasons it would help to be able to run it on Windows. > > Thanks, > Christian > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > balance-general mailing list > balance-general@... > https://lists.sourceforge.net/lists/listinfo/balance-general |
|
From: Thomas O. <tho...@in...> - 2011-02-07 08:46:13
|
Hi, please try an older release without IPv6 support (AFAIR is IPv6 not supported by Cygwin). HTH + Best Regards, Thomas Thomas Obermair Inlab Software GmbH, http://www.inlab.de Josef-Wuerth-Str. 3, 82031 Gruenwald, Germany Amtsgericht Muenchen, HRB 94795 Geschaeftsfuehrer (CEO): Thomas Obermair On 07.02.2011, at 06:48, Christian Kreibich <chr...@wh...> wrote: > Hi there, > > I'm trying to use balance3.54 on a Windows 7 box under Cygwin. It built > fine, but no matter how I start it, it aborts with a "Bad System Call" > error. Is this a known problem? balance works fine for me on Linux, but > for various reasons it would help to be able to run it on Windows. > > Thanks, > Christian > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > balance-general mailing list > bal...@li... > https://lists.sourceforge.net/lists/listinfo/balance-general |
|
From: Christian K. <chr...@wh...> - 2011-02-07 06:08:22
|
Hi there, I'm trying to use balance3.54 on a Windows 7 box under Cygwin. It built fine, but no matter how I start it, it aborts with a "Bad System Call" error. Is this a known problem? balance works fine for me on Linux, but for various reasons it would help to be able to run it on Windows. Thanks, Christian |
|
From: Mahendra K. <mah...@gm...> - 2009-12-11 23:27:05
|
Hi, I have installed successfully the balance. Thanks for clean code base. I have few requirements for my work which require me to monitor the load balancer and also add a load balancing policy. I need to do following - 1. *Scenario A* - Loadbalancer starts with a set of IP:PORTs as channels on which it loadbalances and later after sometime some of the channels do not respond due to failure. In my case, I am loadbalancing requests between Apache WebServer VM running multiple nodes. So the failure scenario is when one of the Apache WebServer VM stops responding due to SEGFAULT/Memory Corruption. In this case, I would like to monitor BALANCE load balancer for - a) Total Number of Channels Set to Start With b) Current set of channels available for loadbalancer? Is there any api in the code which can provide me that information ? *Say chn_status(a,gi) ? * What does the channel status means in CHANNEL structure ?? 2. *Scenario B* - I need to implement a load balancing policy based on NUMBER OF PROCESSES running on APACHE WEBSERVER. If the number of processes in Webserver hits the MAX VALUE over a period X number of time, then I would like to have BALANCE stop sending REQs to that particular WEBSERVER i.e. CHANNEL and keep SENDING to other configured CHANNELs. Right now, the FAILOVER mechanism works for non-reachable hosts or default-timeout set, while I would like to make it FAILOVER based on the description above. I will be grateful for any suggestion or help in this regard ? Please do respond to this as I need this urgently. - Thanks Mahendra |
|
From: Thomas O. <tho...@in...> - 2009-02-18 08:47:15
|
Hi Chris, You are right, there seems to be a bug with the hash function. I'll fix this as soon as I have some time left ... Best Regards, Thomas Chris St. Pierre wrote: > I think I have a misunderstanding with regards to the hash algorithm > of balance. When I start balance with, say: > > balance -H 80 host1 host2 % > > ...I expect each client to "stick" to one destination host. This > happens as expected. However, I would also expect the clients (albeit > not the connections) to be balanced between the two hosts; that is, if > I have a hundred clients in my hash table, I would expect roughly half > to connect to host1 and the other half to host2, and the traffic > should balance out. This does not appear to happen. > > Instead, all traffic goes to host1; if host1 dies, then it fails over > to host2, but I'm not looking for just simple failover. I'd like a > mix of rr and hash, but I can't quite grasp how to get that behavior > out of balance. I've tried using multiple groups, as in: > > balance -H 80 host1 % host2 % > > ...but the behavior is the same. > > Any suggestions? (Unfortunately I have some closed-source web > applications that are not load-balancer friendly, so using a pure RR > algorithm isn't an option.) > > Thanks! > > Chris St. Pierre > Unix Systems Administrator > Nebraska Wesleyan University > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > balance-general mailing list > bal...@li... > https://lists.sourceforge.net/lists/listinfo/balance-general > -- Thomas Obermair Inlab Software GmbH, http://www.inlab.de Josef-Wuerth-Str. 3, 82031 Gruenwald, Germany Amtsgericht Muenchen, HRB 94795 Geschaeftsfuehrer (CEO): Thomas Obermair BalanceNG - The Software Load Balancer for Linux and Solaris - Free download and trial at: http://www.inlab.de/balanceng/ |
|
From: Chris S. P. <stp...@Ne...> - 2009-02-10 15:24:32
|
I think I have a misunderstanding with regards to the hash algorithm of balance. When I start balance with, say: balance -H 80 host1 host2 % ...I expect each client to "stick" to one destination host. This happens as expected. However, I would also expect the clients (albeit not the connections) to be balanced between the two hosts; that is, if I have a hundred clients in my hash table, I would expect roughly half to connect to host1 and the other half to host2, and the traffic should balance out. This does not appear to happen. Instead, all traffic goes to host1; if host1 dies, then it fails over to host2, but I'm not looking for just simple failover. I'd like a mix of rr and hash, but I can't quite grasp how to get that behavior out of balance. I've tried using multiple groups, as in: balance -H 80 host1 % host2 % ...but the behavior is the same. Any suggestions? (Unfortunately I have some closed-source web applications that are not load-balancer friendly, so using a pure RR algorithm isn't an option.) Thanks! Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University |
|
From: Thomas O. <tho...@in...> - 2008-11-24 22:46:39
|
Hi Chris, The following should work for you without any code changes (please give it a try): # balance -b ::ffff:10.9.3.5 http www1 www2 HTH + Best Regards, Thomas Chris St. Pierre wrote: > I'm running balance 3.42 (build by RPMForge) on RHEL 5. It mostly > works fine, but giving the -b flag causes it to fail thusly: > > # balance -b 10.9.3.5 http www1 www2 > setsockopt(IPV6_V6ONLY=0): Protocol not available > > strace reveals that the actual system call that is causing the problem > is: > > setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 ENOPROTOOPT (Protocol not available) > > I have verified that the machine has IPv6 enabled in the kernel. > > Any ideas? Thanks! > > Chris St. Pierre > Unix Systems Administrator > Nebraska Wesleyan University > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > balance-general mailing list > bal...@li... > https://lists.sourceforge.net/lists/listinfo/balance-general -- Thomas Obermair Inlab Software GmbH, http://www.inlab.de Josef-Wuerth-Str. 3, 82031 Gruenwald, Germany Amtsgericht Muenchen, HRB 94795 Geschaeftsfuehrer (CEO): Thomas Obermair BalanceNG - The Software Load Balancer for Linux and Solaris - Free download and trial at: http://www.inlab.de/balanceng/ |
|
From: Chris S. P. <stp...@Ne...> - 2008-11-24 22:42:23
|
Works brilliant. Thanks. Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University On Mon, 24 Nov 2008, Thomas Obermair wrote: > > Hi Chris, > > The following should work for you without any code changes (please give it a > try): > > # balance -b ::ffff:10.9.3.5 http www1 www2 > > HTH + Best Regards, > Thomas > > > Chris St. Pierre wrote: >> I'm running balance 3.42 (build by RPMForge) on RHEL 5. It mostly >> works fine, but giving the -b flag causes it to fail thusly: >> >> # balance -b 10.9.3.5 http www1 www2 >> setsockopt(IPV6_V6ONLY=0): Protocol not available >> >> strace reveals that the actual system call that is causing the problem >> is: >> >> setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 ENOPROTOOPT (Protocol not >> available) >> >> I have verified that the machine has IPv6 enabled in the kernel. >> >> Any ideas? Thanks! >> >> Chris St. Pierre >> Unix Systems Administrator >> Nebraska Wesleyan University >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> balance-general mailing list >> bal...@li... >> https://lists.sourceforge.net/lists/listinfo/balance-general > > -- > Thomas Obermair > Inlab Software GmbH, http://www.inlab.de > Josef-Wuerth-Str. 3, 82031 Gruenwald, Germany > Amtsgericht Muenchen, HRB 94795 > Geschaeftsfuehrer (CEO): Thomas Obermair > > BalanceNG - The Software Load Balancer for Linux and Solaris > - Free download and trial at: http://www.inlab.de/balanceng/ > |
|
From: Chris S. P. <stp...@Ne...> - 2008-11-24 20:39:27
|
After some more poking around, I tried commenting out this block, just
for fun:
#if defined(IPV6_V6ONLY)
status = setsockopt(srv_socket, IPPROTO_IPV6, IPV6_V6ONLY, (char*) &sockoptoff, sizeof(sockoptoff));
if(status < 0) {
perror("setsockopt(IPV6_V6ONLY=0)");
exit(EX_OSERR);
}
#endif
With that entire block commented out, the problem goes away and
balance appears to work. That seems like the Wrong Way to go about
things, though, and I'm guessing that code is there for a good
reason. :)
Thoughts?
Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University
On Mon, 24 Nov 2008, Chris St. Pierre wrote:
> I'm running balance 3.42 (build by RPMForge) on RHEL 5. It mostly
> works fine, but giving the -b flag causes it to fail thusly:
>
> # balance -b 10.9.3.5 http www1 www2
> setsockopt(IPV6_V6ONLY=0): Protocol not available
>
> strace reveals that the actual system call that is causing the problem
> is:
>
> setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 ENOPROTOOPT (Protocol not available)
>
> I have verified that the machine has IPv6 enabled in the kernel.
>
> Any ideas? Thanks!
>
> Chris St. Pierre
> Unix Systems Administrator
> Nebraska Wesleyan University
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> balance-general mailing list
> bal...@li...
> https://lists.sourceforge.net/lists/listinfo/balance-general
>
|
|
From: Chris S. P. <stp...@Ne...> - 2008-11-24 18:42:48
|
I'm running balance 3.42 (build by RPMForge) on RHEL 5. It mostly works fine, but giving the -b flag causes it to fail thusly: # balance -b 10.9.3.5 http www1 www2 setsockopt(IPV6_V6ONLY=0): Protocol not available strace reveals that the actual system call that is causing the problem is: setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 ENOPROTOOPT (Protocol not available) I have verified that the machine has IPv6 enabled in the kernel. Any ideas? Thanks! Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University |
|
From: Thomas O. <tho...@in...> - 2006-06-16 18:37:53
|
On Friday 16 June 2006 19:02, Michael Toy wrote: > Before I run off and spend a lot of time setting up a testing and > measurement system, has anyone measured what the limits of the user > space load balancing are? How many connections with data flowing > through them can a typical 2 processor machine handle? Hi Michael, I would expect problems to start at about 2000 connections with a common Linux system. The FAQ of TCPfork contains some hints which are useful for Balance too: http://www.inlab.de/tcpfork/faq.html (TCPfork is our commercial TCP forwarder which is able to handle 10000 and more concurrent connections). HTH + Best Regards, Thomas -- Thomas Obermair (SCSA/SCNA/SCSecA) Inlab Software GmbH, Munich.Net Internet Services http://www.inlab.de, http://www.munich.net |
|
From: Michael T. <mt...@li...> - 2006-06-16 17:02:51
|
Before I run off and spend a lot of time setting up a testing and measurement system, has anyone measured what the limits of the user space load balancing are? How many connections with data flowing through them can a typical 2 processor machine handle? |
|
From: Thomas O. <tho...@in...> - 2006-01-25 16:56:42
|
> Can I install the same SSL cert on x.x.1.1 and x.x.1.2 which certifies > www.mydomain.com or would this appear as a man in the middle attack? Hi Andrew, I think this should work with no problems, since those SSL certificates are usually bound to the CN (Common Name) of the web server which is the FQDN (Fully Qualified Domain Name, "www.mydomain.com"). It would be important that www.mydomain.com resolves in DNS to the machine that runs balance (from the view of the client). HTH + BR, Thomas -- Thomas Obermair (SCSA/SCNA/SCSecA) Inlab Software GmbH, Munich.Net Internet Services http://www.inlab.de, http://www.munich.net |
|
From: Andrew S. <an...@sy...> - 2006-01-25 13:57:21
|
Can someone help... I want to use Balance with 2 app servers... balance will be on www.mydomain.com ip = x.x.x.1 and the app servers on... x.x.1.1 and x.x.1.2 Can I install the same SSL cert on x.x.1.1 and x.x.1.2 which certifies www.mydomain.com or would this appear as a man in the middle attack? Obviously if you tried to do this with Apache and mod_proxy (rather than Balance) you would have to install the cert on Apache not the app servers. -- Kind Regards Andrew Sykes <an...@sy...> Sykes Development Ltd http://www.sykesdevelopment.com |
|
From: Andrew S. <an...@sy...> - 2006-01-19 18:10:25
|
Hi, Is it possible to maintain a balance session across domains, for example if a client connects to http://mydomain.com and clicks a link in here for https://securedomain.com is it possible to guarantee that the client will be forwarded to the same app server in both cases? -- Kind Regards Andrew Sykes <an...@sy...> Sykes Development Ltd |
|
From: sipieter n. <nik...@ya...> - 2005-09-21 07:40:03
|
Hello, I have a big problem i'd like to solve. It's about session i think, i need help. I need to ensure that the same IP is routed to the same "real server" with a "session-timeout" set to a certain time (for example 30 min). This means I would like to "simulate" more or less a user session by routing the same user to always the same machine as long as the timeout session last. If the user goes "offline" for more than 30 min he could be routed to another server. Is this possible with balance? here's my network topology: 192.168.2.1 is the router 192.168.2.2 is the load balancer 192.168.2.3 is the "real server1" 192.168.2.4 is the "real server2" 192.168.2.5 is the "real server3" so, if a customer connects, his IP will be routed to "real server1" for 30minutes. i need this because my real servers are creating dynamic contents so if customer X speak with "real server1" contents will be created, but when he will try to access it, if balance route him to "real server2" the same content doesn't exist here, so he get an error message. my real servers creates 2d CAD style objects on demand. but each time an object is created, it's a new file name.. and object are deleted as soon as the customer go browsing another page. someone can help? is it possible to mimic users sessions by routing 1 ip to 1 realserver for a certain time? Thanks for your time __________________________________ For All Sports Fans! http://pr.mail.yahoo.co.jp/yells/ |
|
From: Yixuan H. <Yix...@cn...> - 2005-09-07 09:55:07
|
Hi all, There prompted that "shmget:Function not implement". cygcheck i have cygipc 2.03-2. How can I resolve this problem? Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you! |
|
From: sipieter n. <nik...@ya...> - 2005-08-31 09:15:17
|
Hello, i have some weird questions about Balance. 1) is it possible to determine the order in which the servers are requested by the Balance server? say i would like 192.168.1.3 to be requested before 192.168.1.2, is it possible? 2) then a weirder one ;) say a client try to connect on my Balance server, the balance server transfert my client's request to the "real server1" this is good . but, what if i would like to test if my "real server1" can display it's content first before transfering my client's request to that server? my boss ask me to do that: - a client's request in coming to load balance server. - the balance server test if the real server can display image , say: test1.jpg present on the "real server1". if the "real server1" can successfully display the image test1.jpg, then the client's request is really transfered to "real server1". in case "real server1" can't properly display that test1.jpg, then the Balance server ask to another 'real server2 for exemple. this is because, my "real servers are windows iis based and crash a lot! and just before crashing, thoses pics like test1.jpg cannot be displayed. so if that pic can't be displayed , then it's a sign that m$-iis will die soon.. its still alive yet, but cannot display content anymore..so a batch file will be call to reset iis. thus the need to forward the request to another "real server". thanks for your time __________________________________ Take an action against poverty http://pr.mail.yahoo.co.jp/whiteband/ |
|
From: Thomas O. <tho...@in...> - 2005-08-28 15:12:42
|
FYI: Balance 3.26 is now available at http://www.inlab.de/balance.html (source tarball). Changes: * bugfix: master process was not found with balance -i * unused variable pid removed (BSD) * BalanceBSD is set if MAC_OS_X_VERSION_10_4 defined Best Regards, Thomas -- Thomas Obermair (SCSA/SCNA/SCSecA) Inlab Software GmbH, Munich.Net Internet Services http://www.inlab.de, http://www.munich.net |
|
From: Thomas O. <tho...@in...> - 2005-08-28 14:53:21
|
> gcc-3.3 -O2 -Wall -I. -o balance balance.c butils.o > balance.c: In function `background': > balance.c:820: error: too few arguments to function `setpgrp' > make: *** [balance] Error 1 This is probably MAC-OSX Tiger specific, please retry with balance 3.26 wich appears in a few minutes (it's not reproducable on my Darwin PBook). BR, Thomas -- Thomas Obermair (SCSA/SCNA/SCSecA) Inlab Software GmbH, Munich.Net Internet Services http://www.inlab.de, http://www.munich.net |
|
From: Matthew B. <ma...@op...> - 2005-08-24 19:42:11
|
Trying to compile Balance 3.24 on OSX (Tiger), and running into some problems: make gcc -O2 -Wall -I. -o balance balance.c butils.o balance.c: In function 'hin': balance.c:426: warning: pointer targets in passing argument 1 of 'print_packet' differ in signedness balance.c: In function 'zurueck': balance.c:452: warning: pointer targets in passing argument 1 of 'print_packet' differ in signedness balance.c: In function 'background': balance.c:820: error: too few arguments to function 'setpgrp' balance.c: In function 'main': balance.c:1427: warning: pointer targets in passing argument 3 of 'accept' differ in signedness make: *** [balance] Error 1 Just for kicks, I tried compiling with gcc-3.3, and came up with something slightly different: gcc-3.3 -O2 -Wall -I. -o balance balance.c butils.o balance.c: In function `background': balance.c:820: error: too few arguments to function `setpgrp' make: *** [balance] Error 1 Anyone encounter something similar? Have a fix? Thanks in advance! Matthew ---------------------------------- Matthew Berk CTO, Open List, Inc. ma...@op... (917) 403 3313 ---------------------------------- |
|
From: Thomas O. <tho...@in...> - 2005-08-24 08:16:50
|
Most probably there's already something running on port 80, try netstat to find out... you may either stop that program, use another source port or bind to another specific address using the -b option. HTH + Best Regards, Thomas -- Thomas Obermair (SCSA/SCNA/SCSecA) Inlab Software GmbH, Munich.Net Internet Services http://www.inlab.de, http://www.munich.net On Wed, 24 Aug 2005, sipieter nicolas wrote: > hi there, i compile and installed balance on my server, > but i still wonder how to use it correctly.. > > someone could help? > here's what i'm trying to do: > > balance server1 (load balancer) > under this server there's 3 http server which i'd like to > balance.. > > http server 1 > http server 2 > http server 3 > > > so i would like those http server1,2 and 3 to be balanced > with my "balance server1" > > with what option should i invoke the balance deamon > please? > how i can check it's working? > > basicaly my network is 192.168.1.x > like: > load balancer= 192.168.1.5 > http server 1= 192.168.1.6 > http server 2= 192.168.1.7 > http server 3= 192.168.1.8 > > someone could gimme a simple exemple? > i tryed: > # balance bind 192.168.1.5:80 192.168.1.6 192.168.1.6 > 192.168.1.7 192.168.1.8 > and > # balance http 192.168.1.5:80 192.168.1.6:80 > 192.168.1.6:80 192.168.1.7:80 192.168.1.8:80 > and other tries but, basicaly the answer is alway the > same: > " balance: can't bind locaal address" > > what did i do wrong? > btw i've tryed "pen" load balancer with success, > and i'm now looking at LVS too.. > i still need some help on "balance. > > thanks for your time.. > > __________________________________ > Save the earth > http://pr.mail.yahoo.co.jp/ondanka/ > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > balance-general mailing list > bal...@li... > https://lists.sourceforge.net/lists/listinfo/balance-general > |
|
From: sipieter n. <nik...@ya...> - 2005-08-24 05:15:26
|
hi there, i compile and installed balance on my server, but i still wonder how to use it correctly.. someone could help? here's what i'm trying to do: balance server1 (load balancer) under this server there's 3 http server which i'd like to balance.. http server 1 http server 2 http server 3 so i would like those http server1,2 and 3 to be balanced with my "balance server1" with what option should i invoke the balance deamon please? how i can check it's working? basicaly my network is 192.168.1.x like: load balancer= 192.168.1.5 http server 1= 192.168.1.6 http server 2= 192.168.1.7 http server 3= 192.168.1.8 someone could gimme a simple exemple? i tryed: # balance bind 192.168.1.5:80 192.168.1.6 192.168.1.6 192.168.1.7 192.168.1.8 and # balance http 192.168.1.5:80 192.168.1.6:80 192.168.1.6:80 192.168.1.7:80 192.168.1.8:80 and other tries but, basicaly the answer is alway the same: " balance: can't bind locaal address" what did i do wrong? btw i've tryed "pen" load balancer with success, and i'm now looking at LVS too.. i still need some help on "balance. thanks for your time.. __________________________________ Save the earth http://pr.mail.yahoo.co.jp/ondanka/ |
|
From: sipieter n. <nik...@ya...> - 2005-08-24 05:05:04
|
confirm 859502 __________________________________ Save the earth http://pr.mail.yahoo.co.jp/ondanka/ |
|
From: Darek M. <da...@ny...> - 2005-01-31 19:53:42
|
Hello, new subscriber here. balancer works great for the setup that I need: that a backup web server be sent HTTP requests ONLY IF the main web server is unavailable. None of the other packages support this. I tried many other load balancers (pen, pound, etc) but they only let me set weights for each server. So I think its great that balance provides this failover syntax. The only thing missing from balance is the aforementioned header. My client is really anal about logs. I know some of the drawbacks of the X-Forwarded-For header. Is there a way to insert any header that will hold a client's real IP? Anyone know of any patches that enable this? Thanks. |