In HAModClusterConfig, it is sufficient to set
workerTimeout=5000 (was -1)
nodeTimeout=5000 (didn't exist)
?
When using multiple domains should I also set masterPerDomain=true ?
What's the advantage of this setting ? Isn't this necessary anyway,
because if clusters don't span domains, masters can't span domains either ?
Bela Ban wrote:
*Which properties do I have to set (I guess in
mod-cluster-jboss.beans
in HAModClusterConfig) to remove crashed workers from http's tables ?*
I want httpd (mod-cluster) to periodically try to connect to a worker
and remove the worker is the connection is dead.
In mod_jk, I guess (according to [1]) I'd have to set ping_mode=I, with
ping_timeout being the interval and connection_ping_interval to a value
in secs after which a conn will be checked if idle.
I don't know which props I have to use with mod_cluster: nodeTimeout ?
[2] I guess that's only for open sockets though...
[1]
http://tomcat.apache.org/connectors-doc/reference/workers.html
[2]
http://jboss.org/mod_cluster/native/mod_jk.html
--
Bela Ban
Lead JGroups / Clustering Team
JBoss