473,670 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Load Balancing issue with mod_jk connector

1 New Member
Hi All,
I am trying to configure a load balancer environment with mod_jk and tomcat workers.
I have 2 applications app1 deployed on a set of servers, and app2 deployed on another set of servers.
Can I use a single load balancer to balance load among two types of application??

ie all request to app1 should go to servers where app1 is deployed and requests to app 2 should go to set of servers where app 2 is deployed.
Is this possible??
Thanks in advance,
Hari

Following are my cofiguration files.
part of mod_jk.conf
==============

JkMount /app1/* app1balancer
JkMount /app1 app1balancer
JkMount /app1/ app1balancer

JkMount /app2/* app2balancer
JkMount /app2/ app2balancer
JkMount /app2 app2balancer

part of workers.propert ies
=============== ====
worker.worker1. port=8009
worker.worker1. host=localhost
worker.worker1. type=ajp13

# Load balance factor
worker.worker1. lbfactor=1

# ----------------
# Second worker
# ----------------
worker.worker2. port=80
worker.worker2. host=192.168.0. 173
worker.worker2. type=ajp13
worker.worker2. lbfactor=1

# ----------------------
# Load Balancer worker
# ----------------------
worker.app1bala ncer.type=lb
#worker.app1bal ancer.balanced_ workers=worker1 ,worker2
worker.app1bala ncer.balanced_w orkers=worker1
worker.app1bala ncer.method=B

worker.app2bala ncer.type=lb
worker.app2bala ncer.balanced_w orkers=worker2
Worker.app2bala ncer.method=B
Jun 19 '07 #1
0 2243

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4840
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I need Load Balancing at 2 levels - 1) Load Balancing of the Forms Server 2) Load Balancing of the Database
3
5160
by: Shabam | last post by:
When a web application becomes overloaded with traffic, one can offload it by load balancing and clustering the front end web servers. What happens when the back-end MSSQL database becomes overloaded? Does MYSQL offer load balancing and clustering?
2
2003
by: Christopher D. Wiederspan | last post by:
I'm wondering if anybody could give me some tips on a good webfarm load-balancing solution for an ASP.NET application. Here's the rundown: we've got 3 identical servers that each have identical content. Currently, we're using dns round-robin to load-balance traffic across the servers. I won't go into all of the issues that we've encountered doing it this way, but there are many. We also have the problem of keeping the content synchronized...
10
2643
by: GeekBoy | last post by:
Okay, I have two identical web servers running Windows 2003 web server. I have an ASP.NET application which runs great on one of them. Dedicated IP address, behind our firewall, etc. Everyone's happy. Now -- how do I take advantage of that second computer to "load-balance" the web site? Will it really give my users a noticable performance increase? How do you accomplish this? I've read many of those MS articles and it's...
6
4051
by: Andrew Robinson | last post by:
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to implement some type of SQL based session information, but I would simply like to share the SessionID. Mainly for some logging applications. The SessionID does currently seem to be shared between the two servers and I haven't changed anything with my configuration or implemented anything...
0
1541
by: HK | last post by:
I'm wanting to get rid of a hardware load balancer and just use the Windows 2003 software load balancing with 2003 Server Web Edition. I'm wondering if anyone here uploads ASP.NET code to 2 or more servers that are load balanced by Windows Server Network Load Balancing (software load balancing on Windows 2003). If so, or if you're sure of the answer anyway for windows-based load balancing, here's the questions: Can you do just one...
0
1353
by: ors.public.email | last post by:
Hi, My company has recently experienced an issue when posting back aspx pages across multiple servers that were being load balanced. In a nutshell, the problem involved initially loading the page on server A, then posting it back to server B (because of the load balancer). Occasionally, server B would fail to recognize the postback event and load the page as if we're dealing with a GET request, thus losing all the form data. Our...
1
2256
by: m.a | last post by:
Hello, I am looking for a hosting solution for my asp.net application. I found that some ISP stated that session states are not preserved in a load balancing system. As I know, if the asp.net is configured to save the session states in SQL server or file system, it would be preserved in load balancing systems. What is the whole story from the hosting point of view?
1
4644
by: sonalijpawar | last post by:
Hello everybody, I am trying to configure Apache with Tomcat for standalone apache it get succeed.But I want to configure MS4W with Tomcat.MS4W have its own apache server and i want to configure that apache server with tomcat. I reffer steps which is available on net.But when I add following line into htpd.conf Include "C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/auto/mod_jk.conf" it will give me error like below ...
0
8469
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8903
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8814
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6213
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2800
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2042
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.