See Enabling Use of Oracle Coherence as the Cache Provider for prerequisite actions you must take before you can use Oracle Coherence as the cache provider.You can use either multicast or well-known-address (WKA) discovery, as appropriate. See Cache Cluster Member Discovery in TIBCO BusinessEvents Architect’s Guide for guidelines. Procedures for both methods of discovery are explained below.
2.
Specifying one or more well-known addresses disables all multicast communication. Remove any well-known address properties, if any.See Multicast Discovery Properties for details
3. To understand how Oracle Coherence well-known address discovery works see Cluster Member Discovery Using Well-Known Addresses in TIBCO BusinessEvents Architect’s Guide.To configure well-known address discovery, you must configure machine-specific settings at the cluster level and at the processing unit level. Machines where WKA PUs are to be deployed are called WKA machines in this procedure.One processing unit deployed to a WKA machine must have the additional WKA configuration. Additional processing units can be deployed to a WKA machine, configured in the usual way, and they will discover and join the cluster in the usual way at runtime.
2. Open the cluster tab Properties sheet and add a pair of WKA properties for each machine you want to configure as a well-known address machine:Property: tangosol.coherence.wka1 Value: 10.97.118.151
Property: tangosol.coherence.wka1.port Value: 8098Property: tangosol.coherence.wka2 Value: 10.97.118.152
Property: tangosol.coherence.wka2.port Value: 8098
If two engines run on one machine (with a single IP), ensure that each engine uses a different port. For example:Property: tangosol.coherence.wka1 Value: 10.97.118.151
Property: tangosol.coherence.wka1.port Value: 8098Property: tangosol.coherence.wka2 Value: 10.97.118.151
Property: tangosol.coherence.wka2.port Value: 8099
3. Open the Processing Units tab properties sheet for a processing unit (PU). Configure one set of WKA properties to match one of the cluster level set of WKA properties:
If you will deploy using TIBCO BusinessEvents Monitoring and Management (MM) also add the following property:Use the same the value as the value of the tangosol.coherence.localhost property. See Configuring for Coherence WKA Cluster Discovery for more steps you must take when configuring MM, and read Chapter 6, Basic MM Configuration to understand more about deployment using MM.Make sure the PU level property values match corresponding values set at the cluster level. That is, set the localhost property to the IP of the host where you will deploy the PU, and set the localport property to the port defined in the cluster properties localport property.Repeat this step until you have configured a PU with matching PU-level properties for each cluster-level (that is, machine-level) set of WKA properties.For example, if you configured the two well-known addresses shown in step 2, then at the processing unit level you would configure two processing units, each using one pair of to be deployed on one of those machines as follows:Property: tangosol.coherence.localhost. Value: 10.97.118.151
Property: tangosol.coherence.localport. Value: 8098Property: tangosol.coherence.localhost. Value: 10.97.118.152
Property: tangosol.coherence.localport. Value: 8098At deploy time you must select those processing units to deploy on the appropriate (matching) WKA machine. It can be helpful if the name of the PU contains the machine name or other reminder that this PU must be deployed to a specific machine.
4. Continue cluster-level configuration at step 4 after you have finished the WKA configuration.
Copyright © TIBCO Software Inc. All Rights Reserved.