Convert IIS / Tomcat Web Application to a multi-server environment -
I have an existing web application built in the net, running on IIS, which takes advantage of a Java servlet that we Tomcat has to run at 5.5. . We need to scale the application and I am confused about our situation and what we have to do to get servlet running on multi server.
Now I have 4 servers which can process each individual process, almost all I think should do that the AGP 13 worker processes are added to the Balanced Worker hosted by three additional machines. . But I can not imagine that it should be easy.
What should I do to distribute the tomcat load in additional three machines?
Thank you.
P> Update: The current configuration is using a workers2.properties configuration file. I am not able to determine the difference between workers and workers from all the documents online. Properties Most examples I have found are configuring workers. Attend properties and workers, and roam to enter the list of workers. List element workers 2. The workers are not included in the properties. The list is element and syntax is quite different among workers. Properties and Workers 2. Properties I suspect that I can add that element if I only add workers to two of our multiple AGP workers. Do I need to worry about the obvious lack of labor list in the properties file?
[ajp13: localhost: 8009] channel = channel .set: localhost: 8009 group = lb [AGP 13: host 2.modeman.local: 8009] channel = channel.cocket: host2. Madoman.Local: 8009 Group = LB [AGP 13: Host3. Domain: Local: 800 9] Channel = Channel. Set: host3.mydomain.local: 8009 Group = lb
Side A couple of notes ... I have noticed that in some time Tomcat does not appear in my changes and I do not know why, besides this, I do not know if this configuration The reason workers are 2. There are no properties and workers. Properties I was assuming that this version is based on, but I have not seen anything to bring back this notion.
I think you are using IISPi_redirect.dll to connect with TomCase and you have the same steps as [these] Are or are following.
You will then have a worker. Properties file You can edit it to add more than one worker:
worker.list = tomcat-worker1, tomcat-worker2, tomcat-worker3 worker.tomcat-worker1.type = Ajp13 worker.tomcat-worker1 .host = host1 worker.tomcat-worker1.port = 8009 worker.tomcat-worker2.type = ajp13 worker.tomcat-worker2.host = host2 worker.tomcat-worker2.port = 8009 worker.tomcat -worker3.type = ajp13 worker.tomcat-worker3.host = host3 worker.tomcat-worker3.port = 8009
To enable the AJAX connector, edit each Tomcat server as well Will happen.
If you do not need a sticky session, then all this is needed. If your servlet uses a session, then you need to make sure that all requests related to the same session are redirected to the same Tommack worker. I'm afraid I can not help you.
Comments
Post a Comment