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
  • Or you may try with loadbalancer worker list

    worker.list=LoadBalancer
    # First Application Server Instance
    worker.node1.host=<host1>
    worker.node1.port=8009
    worker.node1.type=ajp13
    worker.node1.lbfactor=1

    # Second Application Server Instance
    worker.node2.host=<host2>
    # worker.node2 must use a different port if located on the same physical machine or virtual machine.
    worker.node2.port=8009
    worker.node2.type=ajp13
    worker.node2.lbfactor=1

    # LoadBalancer
    worker.LoadBalancer.type=lb
    worker.LoadBalancer.balance_workers=node1,node2
    #worker.LoadBalancer.balance_workers=node1,node2
    worker.LoadBalancer.sticky_session=1
    worker.status.type=status
Reply
  • Or you may try with loadbalancer worker list

    worker.list=LoadBalancer
    # First Application Server Instance
    worker.node1.host=<host1>
    worker.node1.port=8009
    worker.node1.type=ajp13
    worker.node1.lbfactor=1

    # Second Application Server Instance
    worker.node2.host=<host2>
    # worker.node2 must use a different port if located on the same physical machine or virtual machine.
    worker.node2.port=8009
    worker.node2.type=ajp13
    worker.node2.lbfactor=1

    # LoadBalancer
    worker.LoadBalancer.type=lb
    worker.LoadBalancer.balance_workers=node1,node2
    #worker.LoadBalancer.balance_workers=node1,node2
    worker.LoadBalancer.sticky_session=1
    worker.status.type=status
Children
  • Dear ,

    Thank you so much for your help and I would try out your approach.

    Indeed, the question why I am asking the difference of the highlighted lines is because I saw a SEPERATE CONFIGURATEION (wlb vs wlb_jboss) in the previous step (step 10 as shown below), that I am not sure if either of them could be omitted in the steps followed....

    ----------------------------------------------------------------------------------------------
    10. Add the following settings to the uriworkermap.properties file:

    /suite|/*=wlb
    !/suite/*.jpg=wlb
    !/suite/*.gif=wlb
    !/suite/*.png=wlb
    !/suite/*.js=wlb
    !/suite/*.html=wlb
    !/suite/*.xml=wlb
    !/suite/*.css=wlb
    !/suite/*.xsl=wlb
    !/suite/*.ico=wlb
    !/suite/*.svg=wlb
    !/suite/*.gwt.rpc=wlb
    !/suite/*.htc=wlb
    /suite/s/*=wlb_jboss
    /suite/plugins/servlet/*=wlb_jboss
    ----------------------------------------------------------------------------------------------