-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Niranjan,
On 7/13/17 11:26 AM, niranjan kumar wrote: > I used this configuration: worker.node1.redirect=node2 > worker.node2.activation=disabled So you want to use a hot standby? > to configure the fail-over scenario , it seems to work fine. Good. > My question is 1: Do i need to enable <Cluster ... tag for above > scenario as i think it is working with or without it. You will only nee a <Cluster> if you want to replicate HttpSession data between nodes in your cluster. > 2: What should be configuration on Apache side in worker.properties > file for 2 or more nodes to be in cluster. mod_jk really doesn't deal with anything cluster-related, except maybe if you count sticky-session configuration, plus things like worker.redirect as you have above. All the "real" clustering configuration goes into Tomcat. > 3:How to verify if the nodes are in cluster. Look at log files for membership information, or just force a failure and verify that the cluster behaves as you wish. > 4:Apart from session replication what we get by cluster > implementation Nothing other than HttpSession replication. (With replication comes fault-tolerance, seamless session-failover, etc. but those are only products of session replication, not separate features in and of themselves.) Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZZ9e/AAoJEBzwKT+lPKRY3YUQAMJljVbi0VMGWeO/CvTQUskk LZOv3LhYWLZELm6KYQLGKk59rAbtNNBEqumqF+QAXPFoDXxyYU/CB4SV+fMUwcjW jpc+4hpfy6rGCBKi3iZi0CzARaExWoUei1IV3mPblNtJBXsmCtIqanIjJxBpTUf1 3Md83kh+OScgWYtXQnAf/vU/zMOxtQIchaYXwb+NqdcraVntKkXa2/i6lgCd8K2v LMKtP9n3OXbgjQCUBxT7MKBA9PGb0mkiRf1ZzDd7Qay5nmlV2h9My4ovSCmSRlhi IZcsaMsX88vHMaUwssibk+pZ4jRnx8vZxsSnoXvAHtXmqU33z8KZsgyNPEVhR5IN Vs/1z7Rv7IHWNx/18PgiXjZeJjsIs5ZuA54yGulOX5zcRDu+JnzpVVgRU701HKaI xxrFL19VtLyWKnRIDB2j1KWZQq3EC6oHPoACd7//0tNDqyzjw5GfzjAZhK0cOdN9 taGSsvMop25hMZUcr1RBXnXM1whd4W5jqgLL31u+GZq3N4gUvCpQ2csZUooVrD5U LRY4MouWApe5LzfSs75VgKRUOKJcHP//T/lSwq/t4a4u/MChaNjkEXIkbModWY8A NqCkKCKBXUlyl0BvNh79j3IF/MQsaBzBefPpXAGdgZ6lwWKt3vNBDkYhB97BV+2F 1EXr+dQ4bvdAuiY63XV1 =CABp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
