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.

Before you begin
  • 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/ignite directory with the related GridGain JARs including gridgain-core JAR. See GridGain documentation for more information.
    Procedure
  1. In TIBCO BusinessEvents Studio, open the project CDD file and on the Cluster tab, select Object Management.
  2. 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.

  3. 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).

  4. (Optional) To enable encryption for the stored data when you use Shared Nothing persistence, select the Enable Storage encryption checkbox.
  5. (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.
  6. (Optional) To replicate cache data between clusters by using GridGain, select GridGain Enterprise from the Choose cache replication method dropdown menu.

  7. Configure the following GridGain properties.
    GridGain Configuration Properties
    FieldDescription
    Data Center IDSet 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.

    FieldDescription
    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 IDSet 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.1

    Receiver Address

    Set to the IP address and port number of a receiver node.

    For example: 127.0.0.1:50001

    To 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:

    FieldDescription
    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:50001

    License file locationBrowse 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.
  8. Save the project CDD file.
What to do next