Websphere 7 Cluster Deployment

We have a J2EE application in the form of an EAR file deployed in WAS 7 to ensure the availability of the application, which must be deployed in 3 clusters. We have the Quartz Scheduler class, whose task is to load data from one database to another daily at 2 a.m.

Now the problem is that the ear will be deployed in three different nodes for load balancing and high availability, all three ear files will cause the download at the same time. How do we handle this. Is it possible to do some configuration in a WAS 7. Any help / suggestion would be appreciated.

thanks

+4
deployment cluster-computing websphere-7
source share
1 answer

You have two options:

  • Quartz backend database , where all your nodes will connect to the same database that Quartz uses to synchronize the task. This can be configured so that the task does not start on several nodes at the same time.
  • EJB 3.x timer. See for example an example. This, however, works to ensure that only one member of the cluster starts a timer.
+1
source share

All Articles