BellaDati is enterprise scale application with extended support to run in clustered environment to achieve HA or another desired operation levels.
BellaDati is not depending on selected cluster environment, you can run it on GlassFish, Websphere or JBoss, but there are several parameters contained in application.properties (see BellaDati WAR Configuration) which needs to be change in order to run BellaDati in cluster):
Example for 2 servers cluster
tapestry.clustered-sessions=true application.servers=192.168.1.10:2335,192.168.1.11:2335
Example above defines parameters for 2 servers in cluster, running on 192.168.1.10 and 192.168.1.11.
Cluster overview page
Administrators have access to cluster overview pages, which shows useful information about the servers in the cluster.
Glassfish cluster example
This example shows configuration of Glassfish SSH node (complete description can be found in Glassfish reference manual)
- Have two linux servers with SSH access (user and password or certificate)
- Create SSH node over console or asadmin command
- Verify SSH node by pinging the server
- Configure JDBC resources targets
- Configure Application targets
- Create and start cluster
Troubleshooting
- When installing Glassfish cluster on Windows, WMI and DCOM services must be enabled. Please refer to https://technet.microsoft.com/en-us/library/cc771387.aspx for enabling DCOM and to https://technet.microsoft.com/en-us/library/cc771551.aspx for enabling the WMI
- JDK has to be installed and path set to as_java must be set on both machines
Overview
Content Tools