Using GridGain Enterprise Edition
You can use GridGain Enterprise edition, a platform built on Apache Ignite, as a cache provider. GridGain Enterprise edition provides improved data accessibility across data stores and applications.
- TIBCO FTL or Apache Ignite must be configured as the cluster provider. For more information, see Configuring TIBCO FTL as the Cluster Provider or Configuring Apache Ignite as the Cluster Provider
- If you have configured Apache Ignite as the cluster provider, then you do not need to define the common connection settings. The application uses values for these settings from the cluster provider configuration.
- However, if you have selected TIBCO FTL as the cluster provider, then you have to configure the Apache Ignite cache properties and the cluster properties at once.
- (Optional) To use GridGain for data center replication, download GridGain Enterprise Edition. Replace Apache Ignite JARs in the
BE_HOME/lib/ext/tpcl/apache/ignitedirectory with the related GridGain JARs includinggridgain-coreJAR. See GridGain documentation for more information.
- Procedure
- In TIBCO BusinessEvents Studio, open the project CDD file and on the Cluster tab, select Object Management.
-
In the Configuration window, specify the cache as follows:
- From the Object Management Mode list, select Cache.
- From the Cache Provider list, select Apache Ignite.
-
Define the cache settings as follows.
Apache Ignite Cache Properties Field Description Cache Agent Quorum
Specifies a minimum number (quorum) of storage-enabled nodes that must be active in the cluster when the system starts up before the other agents in the cluster become fully active.
Default value: 1
Note: The inference agent does not start processing events if the number of cache members in the cluster does not satisfy the quorum count.Number of Backup Copies The number of backup copies specifies the number of members of the distributed cache service that hold the backup data for each unit of storage in the cache.
There is no guarantee of no data loss if the Number of Backup Copies is set to 0.
Default value: 1
For a backup count of 1 to be effective, you need at least two cache agents (or storage enable nodes).
- (Optional) To enable encryption for the stored data when you use
Shared Nothingpersistence, select the Enable Storage encryption checkbox. - (Optional) If you select the Enable Storage encryption checkbox, provide the value to the Identity File Path field. The identity file provides a keystore with type and password.
-
(Optional) To replicate cache data between clusters by using GridGain, select
GridGain Enterprisefrom the Choose cache replication method dropdown menu. - Configure the following GridGain properties.
GridGain Configuration Properties Field Description Data Center ID Set a numeric value as an identifier for this data center node. Is Sender Node Select to make this node a cache data sender.
When this checkbox is selected, the following sender-specific connection settings are enabled.
Field Description Sender Group Name Set to a group name to associate this node to a group of sender nodes. This Sender Group Name can be used on multiple nodes if you want a group of nodes to act as sender nodes
For example: SenderGroup1.
Receiver Data Center ID Set to an identifier of a receiver data center node. This must match the Data Center ID provided when configuring the receiver node. Local Outbound Address Set to the IP address of the sender node machine.
For example:
127.0.0.1Receiver Address Set to the IP address and port number of a receiver node.
For example:
127.0.0.1:50001To add multiple receiver nodes, provide IP addresses of each receiver node with their respective port numbers in a comma-separated list format.
Batch Send Frequency (in milliseconds) Time interval at which data replication occurs. Batch Send Size (in bytes) The maximum size of data that accumulates after which data replication occurs. Is Receiver Node Select to make a node as a cache data receiver.
When this checkbox is selected, the following receiver-specific connection settings are enabled:
Field Description Local Inbound Address Set to the IP address of the receiver node machine with a valid available port number.
For example:
127.0.0.1:50001License file location Browse to GridGain license file ( gridgain-license.xml) in GridGain installation folder.Note: To set active-active replication mode, define a node as both sender and receiver. - Save the project CDD file.
- Set up the configurations to persist data, see Persistence Options
- Set up how to manage objects for cache or store object management, see Domain Objects Configuration.
- Set up the processing units and agents for the project, see Collections, Agent Classes, and Processing Units.