Mod cluster JBoss Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


<font color=red>TODO: httpd configuration + JBoss configuration</font>
<font color=red>TODO: httpd configuration + JBoss configuration</font>
=Static Proxy List=
<pre>
</pre>


=Sticky Session=
=Sticky Session=

Revision as of 14:03, 23 March 2017

Overview

EAP 7

<subsystem xmlns="urn:jboss:domain:modcluster:2.0">
    <mod-cluster-config advertise-socket="modcluster" connector="ajp">
        <dynamic-load-provider>
            <load-metric type="cpu"/>
        </dynamic-load-provider>
    </mod-cluster-config>
</subsystem>

Multicast Advertise

Make sure the advertise multicast address and port as the same on the httpd nodes and JBoss nodes. Also make sure multicast propagates between httpd and the JBoss nodes (see #Multicast_Traffic).

TODO: httpd configuration + JBoss configuration

Static Proxy List


Sticky Session

/subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=sticky-session,value=true)

For JBoss EAP 6.x, sticky session is "on" by default.

For more details on sticky session from a mod_cluster perspective, see mod_cluster Concepts - Sticky Session.

Organizatorium

AdvertiseGroup.

Note that if JBoss AS is used and the -u startup switch is included in the AS startup command, the default AdvertiseGroupAddress is the value passed via the -u