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-a0ff...
Enable Contexts
http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff...
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-a0ff...
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-a0ff...
Enable Contexts
http://nlptc27b16.nlptc27.post.tnt/mcm?nonce=683623c6-ff2c-4a4c-abd7-a0ff...
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&...]