|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Delima Load Balancing QuestionHi
Can some body suggest me any thin missing in here... I have 2 independent Tomcats clustered The Apache Configurations is as given httpd.conf --------------------------------------------- LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkRequestLogFormat "%w %V %T" #LBTEST JkMount / node01 JkMount /* node01 JkMount / node02 JkMount /* node02 ---------------------------------------------- workers.properties ---------------------------------------------- workers.java_home=D:/JAVA/JDK163 ps=/ # Define 1 real worker using ajp13 # Each Tomcat Inclusion as a new worker worker.list=node01,node02 worker.node01.type=ajp13 worker.node01.host=10.10.16.63 worker.node01.port=8009 worker.node01.lbfactor=1 worker.node02.type=ajp13 worker.node02.host=10.10.16.63 worker.node02.port=8010 worker.node02.lbfactor=1 ##################### Load Balance ##################### worker.balancer.type=lb worker.balancer.method=B worker.balancer.sticky_session=true worker.balancer.balanced_workers=node01,node02 ---------------------------------------------------------------------------- Tomcat 1 Server.xml <!-- You should set jvmRoute to support load-balancing via AJP ie : --> <Engine name="Standalone" defaultHost="localhost" jvmRoute="node01" > <!-- Define the top level container in our container hierarchy --> <!-- <Engine name="Catalina" defaultHost="localhost" > --> Tomcat 2 Server.xml <!-- You should set jvmRoute to support load-balancing via AJP ie : --> <Engine name="Standalone" defaultHost="localhost" jvmRoute="node02" > <!-- Define the top level container in our container hierarchy --> <!-- <Engine name="Catalina" defaultHost="localhost" > --> Question : For Load balancing ,when 1st Tomcat is shutdown, The Session is not transfered to the 2nd Tomcat. Spec Tomcat 1 = 5.5.23 Tomcat 2 = 5.5.23 Jsdk = 1.6 O/s Win2000 --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: Delima Load Balancing Question> From: karthikn [mailto:karthik.nanjangude@...]
> Can some body suggest me any thin missing in here... [lots of text missing] Please describe the problem you have, that leads you to think something might be missing. Without that, we're guessing. - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Delima Load Balancing Questionsee corrections inline
karthikn wrote: > Hi > > Can some body suggest me any thin missing in here... > > I have 2 independent Tomcats clustered > > > The Apache Configurations is as given > > httpd.conf > --------------------------------------------- > LoadModule jk_module modules/mod_jk.so > JkWorkersFile conf/workers.properties > JkLogFile logs/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkRequestLogFormat "%w %V %T" > > #LBTEST > JkMount / balancer > JkMount /* balancer > > ---------------------------------------------- > > > workers.properties > ---------------------------------------------- > workers.java_home=D:/JAVA/JDK163 > > ps=/ > # Define 1 real worker using ajp13 > # Each Tomcat Inclusion as a new worker > worker.list=balancer > worker.node01.type=ajp13 > worker.node01.host=10.10.16.63 > worker.node01.port=8009 worker.node01.lbfactor=1 > > worker.node02.type=ajp13 > worker.node02.host=10.10.16.63 > worker.node02.port=8010 worker.node02.lbfactor=1 > > > ##################### Load Balance ##################### > worker.balancer.type=lb > worker.balancer.method=B > worker.balancer.sticky_session=true > worker.balancer.balanced_workers=node01,node02 > > ---------------------------------------------------------------------------- > > > Tomcat 1 Server.xml > > <!-- You should set jvmRoute to support load-balancing via AJP ie : --> > <Engine name="Standalone" defaultHost="localhost" jvmRoute="node01" > > <!-- Define the top level container in our container hierarchy --> > <!-- <Engine name="Catalina" defaultHost="localhost" > --> > > > Tomcat 2 Server.xml > > <!-- You should set jvmRoute to support load-balancing via AJP ie : --> > <Engine name="Standalone" defaultHost="localhost" jvmRoute="node02" > > <!-- Define the top level container in our container hierarchy --> > <!-- <Engine name="Catalina" defaultHost="localhost" > --> > > > Question : For Load balancing ,when 1st Tomcat is shutdown, The > Session is not transfered to the 2nd Tomcat. > > > Spec > Tomcat 1 = 5.5.23 > Tomcat 2 = 5.5.23 > Jsdk = 1.6 > O/s Win2000 > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Delima Load Balancing QuestionHi
Implemented the changes... Still getting the same problem >>For Load balancing ,when 1st Tomcat is shutdown, The Session is not transfered to the 2nd Tomcat. Any more ideas ? with regards Karthik Filip Hanik - Dev Lists wrote: > see corrections inline > > karthikn wrote: > >> Hi >> >> Can some body suggest me any thin missing in here... >> >> I have 2 independent Tomcats clustered >> >> >> The Apache Configurations is as given >> >> httpd.conf >> --------------------------------------------- >> LoadModule jk_module modules/mod_jk.so >> JkWorkersFile conf/workers.properties >> JkLogFile logs/mod_jk.log >> JkLogLevel info >> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " >> JkRequestLogFormat "%w %V %T" >> >> #LBTEST >> JkMount / balancer >> JkMount /* balancer >> >> ---------------------------------------------- >> >> >> workers.properties >> ---------------------------------------------- >> workers.java_home=D:/JAVA/JDK163 >> >> ps=/ >> # Define 1 real worker using ajp13 >> # Each Tomcat Inclusion as a new worker >> worker.list=balancer >> > > >> worker.node01.type=ajp13 >> worker.node01.host=10.10.16.63 >> worker.node01.port=8009 worker.node01.lbfactor=1 >> >> worker.node02.type=ajp13 >> worker.node02.host=10.10.16.63 >> worker.node02.port=8010 worker.node02.lbfactor=1 >> >> >> ##################### Load Balance ##################### >> worker.balancer.type=lb >> worker.balancer.method=B >> worker.balancer.sticky_session=true >> worker.balancer.balanced_workers=node01,node02 >> >> ---------------------------------------------------------------------------- >> >> >> Tomcat 1 Server.xml >> >> <!-- You should set jvmRoute to support load-balancing via AJP ie : --> >> <Engine name="Standalone" defaultHost="localhost" jvmRoute="node01" > >> <!-- Define the top level container in our container hierarchy --> >> <!-- <Engine name="Catalina" defaultHost="localhost" > --> >> >> >> Tomcat 2 Server.xml >> >> <!-- You should set jvmRoute to support load-balancing via AJP ie : --> >> <Engine name="Standalone" defaultHost="localhost" jvmRoute="node02" > >> <!-- Define the top level container in our container hierarchy --> >> <!-- <Engine name="Catalina" defaultHost="localhost" > --> >> >> >> Question : For Load balancing ,when 1st Tomcat is shutdown, The >> Session is not transfered to the 2nd Tomcat. >> >> >> Spec >> Tomcat 1 = 5.5.23 >> Tomcat 2 = 5.5.23 >> Jsdk = 1.6 >> O/s Win2000 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@... >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > . > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |