This content has been marked as final.
Show 1 reply
-
1. Re: Balancer (name) and LBGroup (name) in JBoss 7
rhusar May 5, 2014 9:28 AM (in response to willemnoorduin)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/
You can change the balancer name and load balancing group using XML or via CLI interface:
In XML:
<subsystem xmlns="urn:jboss:domain:modcluster:1.1"> <mod-cluster-config advertise-socket="modcluster" balancer="myBalancer" load-balancing-group="myLBGroup" connector="ajp"> <dynamic-load-provider> <load-metric type="busyness"/> </dynamic-load-provider> </mod-cluster-config> </subsystem>
Via CLI:
[standalone@localhost:9999 /] /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=load-balancing-group, value=myLBGroup) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } }