[jboss-user] [Beginner's Corner] - Balancer (name) and LBGroup (name) in JBoss 7

Willem Noorduin do-not-reply at jboss.com
Mon Aug 13 09:17:01 EDT 2012


Willem Noorduin [https://community.jboss.org/people/willemnoorduin] created the discussion

"Balancer (name) and LBGroup (name) in JBoss 7"

To view the discussion, visit: https://community.jboss.org/message/753335#753335

--------------------------------------------------------------
When I implement a number of clusters  I end up with something like:

h1.  Node app1-server (ajp://server:8109): 
  http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff5fed7e64&Cmd=ENABLE-APP&Range=NODE&JVMRoute=mishsm-nlptc27b16 Enable Contexts  http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff5fed7e64&Cmd=DISABLE-APP&Range=NODE&JVMRoute=mishsm-nlptc27b16 Disable Contexts
 Balancer: mycluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax: 1,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0,Connected: 0,Load: 0 
h2.  Virtual Host 1:
h3. Contexts:
/app1, Status: ENABLED Request: 0  http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff5fed7e64&Cmd=DISABLE-APP&Range=CONTEXT&JVMRoute=mishsm-nlptc27b16&Alias=default-host&Context=/mishsm Disable

h3. Aliases:
default-host
localhost
example.com

h1.  Node app2-server (ajp://server:8309): 
  http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff5fed7e64&Cmd=ENABLE-APP&Range=NODE&JVMRoute=ibk-nlptc27b16 Enable Contexts  http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff5fed7e64&Cmd=DISABLE-APP&Range=NODE&JVMRoute=ibk-nlptc27b16 Disable Contexts
Balancer: mycluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax: 1,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0,Connected: 0,Load: 0 

All is working perfectly, but I aspect the value of Balancer of LBGroup the name of the cluster (which I use in the Proxy statements):

<Location /app1 >
   ProxyPass balancer://cluster1/app1 stickysession=JSESSIONID|jsessionid nofailover=On
   ProxyPassReverse balancer://cluster1/app1
</Location>

<Location /app2 >
   ProxyPass balancer://cluster2/app2 stickysession=JSESSIONID|jsessionid nofailover=On
   ProxyPassReverse balancer://cluster2/app2
</Location>

Now I know mycluster is a default. My question is: where in the standalona-ha.xml must I set the name of the cluster and the LBGroup name. I do not see it anywhere/
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/753335#753335]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120813/4a287e1f/attachment-0001.html 


More information about the jboss-user mailing list