High Availability with IIS and Jboss

Hi! I am using IIS to set multiple 2 "App+web server", here I found the instruction in step 13 from 

https://docs.appian.com/suite/help/18.2/Configuring_IIS_with_JBoss.html

------------------------------------------------------------------

Use the following example settings:

 worker.list=wlb,wlb_jboss,jkstatus
  
 worker.ajp13w1.type=ajp13
 worker.ajp13w1.host=<app server 1 ip address>
 worker.ajp13w1.port=8009

 worker.ajp13w2.type=ajp13
 worker.ajp13w2.host=<app server 2 ip address>
 worker.ajp13w2.port=8009
  
 worker.wlb.type=lb
 worker.wlb.balance_workers=ajp13w1  

 worker.wlb_jboss.type=lb
 worker.wlb_jboss.balance_workers=ajp13w2  
  
 worker.jkstatus.type=status
 worker.wlb.sticky_session=1
  • NOTE: Even though we list two application servers in the above example, there is actually only one. Both ajp13w1/ajp13w2 configurations are necessary to ensure the correct uriworkermap.properties URL requests go to JBoss.

------------------------------------------------------------------------------------

 

Please may I know why is the highlighted lines look different?

what should be the exact uriworkermap.properties for my case??

 

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • Should it be [A] or [B]??

    [A]

    worker.list=wlb,wlb_jboss,jkstatus
    
    worker.ajp13w1.type=ajp13
    worker.ajp13w1.host=<app server 1 ip address>
    worker.ajp13w1.port=8009
    
    worker.ajp13w2.type=ajp13
    worker.ajp13w2.host=<app server 2 ip address>
    worker.ajp13w2.port=8009
    
    worker.wlb.type=lb
    worker.wlb.balance_workers=ajp13w1,ajp13w2 
    
    
    worker.jkstatus.type=status
    worker.wlb.sticky_session=1

    -------------------------------------------------------------------------------------------------------
    [B]
    worker.list=wlb,wlb_jboss,jkstatus
    
    worker.ajp13w1.type=ajp13
    worker.ajp13w1.host=<app server 1 ip address>
    worker.ajp13w1.port=8009
    
    worker.ajp13w2.type=ajp13
    worker.ajp13w2.host=<app server 2 ip address>
    worker.ajp13w2.port=8009
    
    worker.wlb.type=lb
    worker.wlb.balance_workers=ajp13w1,ajp13w2 
    
    worker.wlb_jboss.type=lb
    worker.wlb_jboss.balance_workers=ajp13w1,ajp13w2 
    
    worker.jkstatus.type=status
    worker.wlb.sticky_session=1

Reply
  • Should it be [A] or [B]??

    [A]

    worker.list=wlb,wlb_jboss,jkstatus
    
    worker.ajp13w1.type=ajp13
    worker.ajp13w1.host=<app server 1 ip address>
    worker.ajp13w1.port=8009
    
    worker.ajp13w2.type=ajp13
    worker.ajp13w2.host=<app server 2 ip address>
    worker.ajp13w2.port=8009
    
    worker.wlb.type=lb
    worker.wlb.balance_workers=ajp13w1,ajp13w2 
    
    
    worker.jkstatus.type=status
    worker.wlb.sticky_session=1

    -------------------------------------------------------------------------------------------------------
    [B]
    worker.list=wlb,wlb_jboss,jkstatus
    
    worker.ajp13w1.type=ajp13
    worker.ajp13w1.host=<app server 1 ip address>
    worker.ajp13w1.port=8009
    
    worker.ajp13w2.type=ajp13
    worker.ajp13w2.host=<app server 2 ip address>
    worker.ajp13w2.port=8009
    
    worker.wlb.type=lb
    worker.wlb.balance_workers=ajp13w1,ajp13w2 
    
    worker.wlb_jboss.type=lb
    worker.wlb_jboss.balance_workers=ajp13w1,ajp13w2 
    
    worker.jkstatus.type=status
    worker.wlb.sticky_session=1

Children
No Data