Aloha everybody,
I have a problem with the removeSelf function. I installed mod_backhand on
six servers and it runs perfect. However, I want to disable the front-end
server from the candidate list.
5 Servers have the name "srv-hawaii1" to "srv-hawaii5"
1 Server as frontend with the name "loader"
In the Apache config for "loader" I use:
<Directory "/var/www/cgi-bin">
Backhand removeSelf
Backhand byAge 5
BackhandFromSO modules/byHostname.so byHostname
(srv\-hawaii)
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>
In the configuration for the other servers (e.g., "srv1-hawaii") I use:
<Directory "/var/www/cgi-bin">
#Backhand removeSelf
Backhand byAge 5
BackhandFromSO modules/byHostname.so byHostname
(srv\-hawaii)
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>
I experience following problem:
Without or without the BackhandFromSO line, the loader disappears from the
list of active backhand servers. That's good so far?! However, "loader" now
does processes the script in the local directory instead of forwarding it to
the other servers (as it should do as front-end.
I restarted every daemon in the cluster after each change in the config file
just to make sure, but that's not it...
Hope you can help me there!
Mahalo nui loa!
Ralf Mitteregger
I have a problem with the removeSelf function. I installed mod_backhand on
six servers and it runs perfect. However, I want to disable the front-end
server from the candidate list.
5 Servers have the name "srv-hawaii1" to "srv-hawaii5"
1 Server as frontend with the name "loader"
In the Apache config for "loader" I use:
<Directory "/var/www/cgi-bin">
Backhand removeSelf
Backhand byAge 5
BackhandFromSO modules/byHostname.so byHostname
(srv\-hawaii)
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>
In the configuration for the other servers (e.g., "srv1-hawaii") I use:
<Directory "/var/www/cgi-bin">
#Backhand removeSelf
Backhand byAge 5
BackhandFromSO modules/byHostname.so byHostname
(srv\-hawaii)
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>
I experience following problem:
Without or without the BackhandFromSO line, the loader disappears from the
list of active backhand servers. That's good so far?! However, "loader" now
does processes the script in the local directory instead of forwarding it to
the other servers (as it should do as front-end.
I restarted every daemon in the cluster after each change in the config file
just to make sure, but that's not it...
Hope you can help me there!
Mahalo nui loa!
Ralf Mitteregger