
jgmercado at micro-d
Mar 4, 2002, 10:58 PM
Post #1 of 3
(518 views)
Permalink
|
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>
|