Which is best Jboss EAP6.1 configuration when we are having Apache as a front tier in production ?
arun2arunraj Nov 20, 2014 12:07 PMHi,
We are having Apache as our front end to our applications. We are having JBoss EAP 6.1.1GA, Apache 2.2.15 and Modcluster 1.2.4 Final. We configured clusters with the above products. But having no idea whether we are using best industry practice configurations for our applications. Any Help is much appreciated.
Apache configurations
Listen IPADDRESS:7777
Maxhost 1000
Maxnode 1000
<IfModule manager_module>
<VirtualHost IPADDRESS:7777>
ManagerBalancerName servicelb
ServerName IPADDRESS
<Location />
Order deny,allow
Allow from all
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
EnableMCPMReceive
AllowDisplay On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from *.domain.com
</Location>
<Location /server_status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from *.domain.com
</Location>
</VirtualHost>
</IfModule>
Jboss mod-cluster Configurations
<subsystem xmlns="urn:jboss:domain:modcluster:1.1">
<mod-cluster-config advertise-socket="modcluster" proxy-list="${modcluster.proxylist}" advertise="false" excluded-contexts="invoker,jbossws,juddi,console" connector="ajp">
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
Jboss Web Configurations
<subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
<virtual-server name="default-host" enable-welcome-root="false">
<alias name="domainname"/>
</virtual-server>
</subsystem>
Based on the above configurations Applications are working. But we dont know whether we done a best clustering configurations. Enabled clustering with two host controller and One domain controller as well as enabled a ServerGroup which contains two nodes each in a host. Please advise if i have any anything mistake. Please let me know, this is good for production or not.
Regards ,
ArunRaj. R