Not logged in | Login
Setting Glass Fish ESB Cluster
This document demonstrates how to configure the GlassFish ESB domain for clustering. This includes the following information:
BPEL Service Engines added to a cluster should point to a single database. Setup a database, connection pools (XA, non-XA), and data sources for the BPEL SEs. For more detailed configuration information see BPELSE Configuration. Automatic table creation logic is not available in the cluster environment. Automatic connection pool and data source setup for Derby is not available in a cluster.
To configure a BPEL Service Engine in a cluster, we could go through a process of tedious setup and configuration. By doing the following, we can make the component do most of the configuration itself.
To enable data sources and make them available, create the component data source on the "Server" target using "Manage Targets" in the Admin Console.
After installation of BPEL Service Engine, verify the successful installation by checking the ENGINE table of the BPELSE Persistence Schema. You can use the Netbeans Database Tool to connect to BPEL SE Persistence schema and view ENGINE Table contents. The screenshot below shows two engine instances running on two cluster instances.
Note that by design the engine ID is the same as the cluster instance name (for cluster cases only).
Also, Note the value in the LASTUPDATETIME column. This corresponds to the Lease Renewal Interval configuration. Service engines participating in a cluster are expected to update the value of this column at least once during the interval, as defined by this configuration. Since the default value is 60 seconds, if you query the data again after 60 seconds you should see the LASTUPDATETIME values get updated. As a safeguard, you can confirm that the lease is being updated by the engine before moving to next step.
|32||21-May-09 11:38 AM, -0700||EdWong||11517||to previous|
|31||14-Apr-09 23:44 PM, -0700||Murali||11519||to previous | to last|
|30||09-Apr-09 13:39 PM, -0700||Prashant Bhagat||11276||to previous | to last|
|29||06-Apr-09 15:21 PM, -0700||rjacobus||11128||to previous | to last|
|28||20-Mar-09 15:35 PM, -0700||rjacobus||11125||to previous | to last|
|27||16-Mar-09 10:39 AM, -0700||Murali||9617||to previous | to last|
|26||16-Mar-09 10:36 AM, -0700||Murali||9599||to previous | to last|
|25||16-Mar-09 10:19 AM, -0700||Murali||9109||to previous | to last|
|24||16-Mar-09 10:18 AM, -0700||Murali||9111||to previous | to last|
|23||16-Mar-09 01:34 AM, -0700||Murali||6905||to previous | to last|
|22||16-Mar-09 01:33 AM, -0700||Murali||6758||to previous | to last|
|21||16-Mar-09 01:18 AM, -0700||Murali||6553||to previous | to last|
|20||16-Mar-09 01:11 AM, -0700||Murali||6537||to previous | to last|