Re: Round Robin LoadBalance/Failover Configuration for Apache
Hi Christopher, Thanks for the reply. I am new to Apache and Tomcat, Our Tomcat is not cluster and Sticky is not enabled. Could you please let me know which one will be help to avoid failover if one Tomcat went down. Thanks Jayaram On Sun, Oct 16, 2016 at 10:32 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jayaram, > > On 10/13/16 1:00 AM, Jayaram Ponnusamy wrote: > > Hi All, > > > > Currently we have two webServers (WA and WB) and two Tomcat Servers > > (TA, TB). WA configured for TA and WB configured for TB. How to > > configure Loadbalance and Failover between these two Servers. > > > > For Eg. WA is connected with TA, if TA failed then WA should > > connect TB, Similarly WB connect TA if TB is failed. > > > > It may simple, but I am new to Apache. Most of the LB example > > described for 1WEB and TWO AppServer. Kindly please help me to > > solve this problem > > > > Given workers.properties details below. Kindly please help me to > > solve this issue. > > > > WEB-A's workers.properties worker.list=wa worker.wa.type=ajp13 > > worker.wa.host=ta worker.wa.port=9009 > > > > WEB-B's workers.properties worker.list=wb worker.wb.type=ajp13 > > worker.wb.host=tb worker.wb.port=9009 > > Are your Tomcat instances in a cluster? Do you want them to be? Are > you using sticky sessions? Do you want to use sticky sessions? > > Is it okay for users who are failed-over to the other server to have > to re-authenticate with your application to continue? > > - -chris > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJYA9XAAAoJEBzwKT+lPKRY0esQAMium0WaEZLtznE5pMmSAu28 > SwP4p/wGv5QiVXm7RDcIqIEG1oTa/6KVRUukmNE695i293qAIBhZI/HM7whip038 > C3X/IG/3e+pe06wt31osnzKbwWEDdnWaLKyGXaF3N1fzaII5MBxPst/mDMhmfclK > oIgFBIgwTuKA760HL0yWIph7Slg4DSg/ZkJxdSKM2wXkf+oJq+e2/mJOBgpgbm82 > fz5JYL6FIWEobbONKLbZNEFL+670Xc+IxD+irkqwhURGihelyQ9ads9Sz2JpoT9J > gpeEwmtu4pXi7RYlA67/qST/gVmYlfWWaurcpfWiEZhwXz0cotx73AmBEJCSr7Ml > nkXLbhJThx4YWpZtjmrBfXAd4Z4SW6W9rCB/VmB1QtL+pEv5n2lsi6bOV+vA3BxK > oAbicf/CI6HRUyE2Ar+IPmjtSnxu1n7q/ZhLkIkcQF/05VuEoQ92eVqoRvoM2dSA > aQDYZAL9IiAtHrb5fq+r6vHowRlCtZP1rTHniXoUnILRHCA1xeMU1VN60XzWbUwo > 11a+C37ZeAStlnpH2TbRptwdGFY78F2H2GBDdw4s/xrU1MvYaN1x3H+b2CJhBFMm > CFhpWtGsE5WDMYVd/ujelB9FgzPcryKlUSBvNnRpzm5qntO2orS5CTfUFhQVsFU/ > Mm0GELyJ+oVLRGRTp8sJ > =8Q5b > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --
Re: Round Robin LoadBalance/Failover Configuration for Apache
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jayaram, On 10/13/16 1:00 AM, Jayaram Ponnusamy wrote: > Hi All, > > Currently we have two webServers (WA and WB) and two Tomcat Servers > (TA, TB). WA configured for TA and WB configured for TB. How to > configure Loadbalance and Failover between these two Servers. > > For Eg. WA is connected with TA, if TA failed then WA should > connect TB, Similarly WB connect TA if TB is failed. > > It may simple, but I am new to Apache. Most of the LB example > described for 1WEB and TWO AppServer. Kindly please help me to > solve this problem > > Given workers.properties details below. Kindly please help me to > solve this issue. > > WEB-A's workers.properties worker.list=wa worker.wa.type=ajp13 > worker.wa.host=ta worker.wa.port=9009 > > WEB-B's workers.properties worker.list=wb worker.wb.type=ajp13 > worker.wb.host=tb worker.wb.port=9009 Are your Tomcat instances in a cluster? Do you want them to be? Are you using sticky sessions? Do you want to use sticky sessions? Is it okay for users who are failed-over to the other server to have to re-authenticate with your application to continue? - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJYA9XAAAoJEBzwKT+lPKRY0esQAMium0WaEZLtznE5pMmSAu28 SwP4p/wGv5QiVXm7RDcIqIEG1oTa/6KVRUukmNE695i293qAIBhZI/HM7whip038 C3X/IG/3e+pe06wt31osnzKbwWEDdnWaLKyGXaF3N1fzaII5MBxPst/mDMhmfclK oIgFBIgwTuKA760HL0yWIph7Slg4DSg/ZkJxdSKM2wXkf+oJq+e2/mJOBgpgbm82 fz5JYL6FIWEobbONKLbZNEFL+670Xc+IxD+irkqwhURGihelyQ9ads9Sz2JpoT9J gpeEwmtu4pXi7RYlA67/qST/gVmYlfWWaurcpfWiEZhwXz0cotx73AmBEJCSr7Ml nkXLbhJThx4YWpZtjmrBfXAd4Z4SW6W9rCB/VmB1QtL+pEv5n2lsi6bOV+vA3BxK oAbicf/CI6HRUyE2Ar+IPmjtSnxu1n7q/ZhLkIkcQF/05VuEoQ92eVqoRvoM2dSA aQDYZAL9IiAtHrb5fq+r6vHowRlCtZP1rTHniXoUnILRHCA1xeMU1VN60XzWbUwo 11a+C37ZeAStlnpH2TbRptwdGFY78F2H2GBDdw4s/xrU1MvYaN1x3H+b2CJhBFMm CFhpWtGsE5WDMYVd/ujelB9FgzPcryKlUSBvNnRpzm5qntO2orS5CTfUFhQVsFU/ Mm0GELyJ+oVLRGRTp8sJ =8Q5b -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Round Robin LoadBalance/Failover Configuration for Apache
Hi All, Currently we have two webServers (WA and WB) and two Tomcat Servers (TA, TB). WA configured for TA and WB configured for TB. How to configure Loadbalance and Failover between these two Servers. For Eg. WA is connected with TA, if TA failed then WA should connect TB, Similarly WB connect TA if TB is failed. It may simple, but I am new to Apache. Most of the LB example described for 1WEB and TWO AppServer. Kindly please help me to solve this problem Given workers.properties details below. Kindly please help me to solve this issue. WEB-A's workers.properties worker.list=wa worker.wa.type=ajp13 worker.wa.host=ta worker.wa.port=9009 WEB-B's workers.properties worker.list=wb worker.wb.type=ajp13 worker.wb.host=tb worker.wb.port=9009 -- *Thanks & Regards,* *Jayaram *