Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: mod_backhand: users

Loadbalance not working

 

 

mod_backhand users RSS feed   Index | Next | Previous | View Threaded


jgmercado at micro-d

Mar 4, 2002, 10:58 PM

Post #1 of 3 (629 views)
Permalink
Loadbalance not working

hi,
Im trying to test mod_backhand on 2 server(serv1 and serv2).by accessing
/home/httpd/htdocs simultaneously ,running a script file whos job is to
access serv1.
serv1 is the frontend server and serv2 is tha backend.When i viewed my
access log on serv1 all things are ok. But
Question
1.its seems that the loadbalancing is not working?did i get the config
right?Help
FYI
serv1 192.168.10.223
serv2 192.168.10.221
bcast 192.168.10.225
ERROR_LOG

[Tue Mar 5 13:17:40 2002] [notice] mod_backhand moderator ready to go
[Tue Mar 5 13:17:40 2002] [notice] Apache/1.3.20 (Unix) PHP/4.1.1
mod_ssl/2.8.4 OpenSSL/0.9.6a mod_backhand/1.2.1 configured -- resuming
normal operations
[Tue Mar 5 13:37:46 2002] [notice] caught SIGTERM, shutting down
[Tue Mar 5 13:42:00 2002] [notice] mod_backhand -- UnixSocketDir set to
/home/httpd/backhand
[Tue Mar 5 13:42:00 2002] [notice] mod_backhand -- Broadcast
192.168.10.255:4445 added
[Tue Mar 5 13:42:00 2002] [notice] mod_backhand -- Multicast accept
192.168.10.0/24
[Tue Mar 5 13:42:00 2002] [notice] backhand_init(1397) spawning moderator
(PID 1398)
[Tue Mar 5 13:42:01 2002] [notice] waiting for mod_backhand moderator to
start
[Tue Mar 5 13:42:01 2002] [notice] mod_backhand moderator ready to go
[Tue Mar 5 13:42:01 2002] [notice] Apache/1.3.20 (Unix) PHP/4.1.1
mod_ssl/2.8.4 OpenSSL/0.9.6a mod_backhand/1.2.1 configured -- resuming
normal operations

----------------------------------------------------------------------
Here are backhand config at httpd.conf. at both server
---------------------------------------------------------------------
LoadModule backhand_module libexec/mod_backhand.so

ClearModuleList
AddModule mod_backhand.c

UnixSocketDir /home/httpd/backhand
# MulticastStats 128.220.221.255:4445
MulticastStats 192.168.10.255:4445,1
AcceptStats 192.168.10.0/24

<Location "/backhand/">
SetHandler backhand-handler
</Location>

<Directory "/home/httpd/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None

#
# Controls who can get stuff from this server.
#

Order allow,deny
Allow from all
Backhand byAge 0
Backhand byLoad
Backhand addPrediction
</Directory>


jesus at omniti

Mar 5, 2002, 12:21 AM

Post #2 of 3 (623 views)
Permalink
Loadbalance not working [In reply to]

On Tuesday, March 5, 2002, at 12:58 AM, Joseph G. Mercado wrote:
> 1.its seems that the loadbalancing is not working?did i get the config
> right?Help
>
> Backhand byAge 0
> Backhand byLoad
> Backhand addPrediction

byAge 0 make none of your server eligible. Either leave the number off
and use the default or use a more reasonable number.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7


jgmercado at micro-d

Mar 5, 2002, 12:34 AM

Post #3 of 3 (629 views)
Permalink
Loadbalance not working [In reply to]

Change byAge 0 to byAge on both server httpd.conf file, and run the script
for testing....tried to view the access log on both server. Only access_log
for serv1 moves?should access_log for serv2 move too?It should be right?coz
if not loadbalancing is not working.

-----Original Message-----
From: Theo Schlossnagle [mailto:jesus [at] omniti]
Sent: Tuesday, March 05, 2002 3:21 PM
To: backhand-users [at] lists
Subject: Re: [m_b_users] Loadbalance not working


On Tuesday, March 5, 2002, at 12:58 AM, Joseph G. Mercado wrote:
> 1.its seems that the loadbalancing is not working?did i get the config
> right?Help
>
> Backhand byAge 0
> Backhand byLoad
> Backhand addPrediction

byAge 0 make none of your server eligible. Either leave the number off
and use the default or use a more reasonable number.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7


_______________________________________________
backhand-users mailing list
backhand-users [at] lists
http://lists.backhand.org/mailman/listinfo/backhand-users

mod_backhand users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.