• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IIS Proxy Load balancing between 8 JBOSS Standalone machines

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
We have a new request from the customer, who does not want JBOSS to be in the cluster mode it should be installed in stand alone mode and he wants those 8 standalone machines to be load balanced with IIS proxy.

First of all, this is the first time I am using IIS with JBOSS. This request seems to be totally kind of new. Can some one help me how this can be done.(managing 8 standalone JBOSS instances with a IIS Load balancer). Please let me know if there are any instructions.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mp Ramkumar wrote:Hi All,
We have a new request from the customer, who does not want JBOSS to be in the cluster mode it should be installed in stand alone mode and he wants those 8 standalone machines to be load balanced with IIS proxy.

First of all, this is the first time I am using IIS with JBOSS. This request seems to be totally kind of new. Can some one help me how this can be done.(managing 8 standalone JBOSS instances with a IIS Load balancer). Please let me know if there are any instructions.



Well, it actually is a common architecture of having a Web Server load balance multiple JBoss App Servers that are not in cluster mode.

Personally, I have always used Apache Web Server to front JBoss, but IIS can do the exact same thing, and I would assume with the same AKP13 protocal. Now the question that is left is what transport plugin is for IIS.

I found this doc
http://www.itshastra.com/know_bank/IIS_Jboss.pdf

Mark
 
Mp Ramkumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi mark,
Thanks for the Reply. I have tried the same with the document which you have provided, but end up with the following debug message in the log file. Can you help me out please.

 
Mp Ramkumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,
Finally I got the success. By giving the IIS worker.properties, uriworkermap.properties as mentioned below. AGB5, AGAdminB5 are the web applications which are deployed in the two JBOSS standalon machines(JBOSS is not clustered). Alerts application is deployed only in one machine. Using Single IIS the request routing and the Load balancing is possible by doing giving the properties files as below.

uriworkermap.properties
/AGB5=loadbalancerA
/AGB5/=loadbalancerA
/AGB5/*=loadbalancerA


/AGAdminB5=loadbalancerA
/AGAdminB5/=loadbalancerA
/AGAdminB5/*=loadbalancerA

/alerts=loadbalancerB
/alerts/=loadbalancerB
/alerts/*=loadbalancerB

worker.properties

worker.list=loadbalancerA,loadbalancerB,status


# Load-balancing behaviour
worker.loadbalancerA.type=lb
worker.loadbalancerA.balance_workers=production1,production2
worker.loadbalancerA.sticky_session=1

# Define production1
# modify the host as your host IP or DNS name.
worker.production1.port=8009
worker.production1.host=srv50.agi.com
worker.production1.type=ajp13
worker.production1.lbfactor=1

# Define production2
# modify the host as your host IP or DNS name.
worker.production2.port=8009
worker.production2.host=srv79.agi.com
worker.production2.type=ajp13
worker.production2.lbfactor=1


# Load-balancing behaviour
worker.loadbalancerB.type=lb
worker.loadbalancerB.balance_workers=production2
worker.loadbalancerB.sticky_session=1

# Define production1
# modify the host as your host IP or DNS name.
worker.production2.port=8009
worker.production2.host=srv79.agi.com
worker.production2.type=ajp13
worker.production2.lbfactor=1

# Status worker for managing load balancer
worker.status.type=status


Thanks & Regards,
RamkumarMP
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic