15 Oracle Coherence Clusters
By automatically and dynamically partitioning data in memory across multiple servers, Oracle Coherence enables continuous data availability and transactional integrity, even in the event of a server failure. As a shared infrastructure, Oracle Coherence combines data locality with local processing power to perform real-time data analysis, in-memory grid computations, and parallel transaction and event processing.
This chapter includes the following sections:
Create Oracle Coherence clusters
This section describes how to create managed Oracle Coherence clusters and how to add standalone Oracle Coherence clusters. Managed Oracle Coherence clusters are comprised of managed Oracle Coherence servers that are part of a WebLogic Server domain. Standalone Oracle Coherence clusters are comprised of Oracle Coherence servers that are not part of a WebLogic Server domain.
This section includes the following tasks:
- Create managed Oracle Coherence clusters
- Add standalone Oracle Coherence clusters
- Edit standalone cluster settings
Parent topic: Oracle Coherence Clusters
Create managed Oracle Coherence clusters
To create a new managed Oracle Coherence cluster:
Parent topic: Create Oracle Coherence clusters
Properties
On the Properties page, define the general cluster properties for your new managed Oracle Coherence cluster:
-
Name: enter a unique name for your cluster.
-
Clustering Mode: if you selected Configure within WebLogic Server, then select either unicast or multicast for the cluster network transmission.
-
Cluster Listen Port: if you selected Configure within WebLogic Server, then enter the cluster listen port. Oracle Coherence cluster members use this port to discover and join, or create, the cluster. The default port is 7574.
-
Multicast Listen Address: if you selected Configure within WebLogic Server and you are using multicast, enter an IP address for the cluster multicast listener.
-
Custom Configuration File Name: if you selected Use a Custom Configuration File, enter the location of a Oracle Coherence cluster configuration file that defines the cluster properties. You can click Browse to navigate to the file location.
For more information about these fields, see Configuration Options.
Parent topic: Create managed Oracle Coherence clusters
Members
On the Members page, you can specify the WebLogic Server clusters or specific managed servers to associate with this managed Oracle Coherence cluster.
Parent topic: Create managed Oracle Coherence clusters
Review
On the Review page, review the configuration for your new managed Oracle Coherence cluster.
Parent topic: Create managed Oracle Coherence clusters
Add standalone Oracle Coherence clusters
To add a standalone Oracle Coherence cluster:
For more information about these fields, see Configuration Options.
Parent topic: Create Oracle Coherence clusters
Edit standalone cluster settings
This section describes how to edit standalone cluster settings. This section includes the following tasks:
- Edit standalone Oracle Coherence cluster general settings
- Edit standalone Oracle Coherence cluster notes
Parent topic: Create Oracle Coherence clusters
Edit standalone Oracle Coherence cluster general settings
To edit the general settings for a standalone Oracle Coherence cluster:
- Select each text field and update the value as required.
- In the Management Node Hosts section, click Add to enter a new host or select a host and click Delete to remove the host from the list. Use the Notes column to enter additional information about a host.
- Click Save to keep the changes. Click Revert to discard the changes.
For more information about these fields, see Configuration Options.
Parent topic: Edit standalone cluster settings
Edit standalone Oracle Coherence cluster notes
To edit the notes for a standalone Oracle Coherence cluster:
- In the text field, update the text as required.
- Click Save to keep the changes. Click Revert to discard the changes.
For more information about these fields, see Configuration Options.
Parent topic: Edit standalone cluster settings
Monitor Oracle Coherence clusters
This section describes how to monitor Oracle Coherence clusters.
This section includes the following tasks:
Parent topic: Oracle Coherence Clusters
Monitor managed Oracle Coherence clusters
To monitor a Managed Oracle Coherence cluster:
Parent topic: Monitor Oracle Coherence clusters
Monitor standalone Oracle Coherence clusters
To monitor a standalone Oracle Coherence cluster:
Parent topic: Monitor Oracle Coherence clusters
Configure managed Oracle Coherence clusters
This section describes how to configure managed Oracle Coherence clusters.
This section includes the following tasks:
- Edit managed Oracle Coherence cluster configuration settings
- Edit managed Oracle Coherence cluster security settings
- Edit managed Oracle Coherence cluster members
- Edit managed Oracle Coherence cluster notes
Parent topic: Oracle Coherence Clusters
Edit managed Oracle Coherence cluster configuration settings
To edit managed Oracle Coherence cluster configuration settings:
Parent topic: Configure managed Oracle Coherence clusters
General
From the General page, expand Custom Configuration to define custom configuration settings for this Coherence cluster, such as:
-
Use a custom cluster configuration file
-
Custom configuration file name
Optionally, expand Address Configurations to define address configuration settings for this Coherence cluster, such as:
-
Clustering mode
-
Cluster listen port
-
Multicast listen address
-
Transport
-
Time to live
For more information on the attributes of the general page, see General.
Click Save.
Cache Configurations
The Cache Configurations page displays a table that lists the cache configured for this Coherence cluster.
For more information about these fields, see Configuration Options
Use the Cache Configurations page to:
Create a cache configuration
To create a new cache configuration:
Parent topic: Cache Configurations
Delete a cache configuration
To delete a cache configuration:
- Select the cache configuration you want to delete and click Delete.
- Click Ok to confirm the deletion.
Parent topic: Cache Configurations
Well Known Addresses
Use the Well Known Addresses page to create, edit, and delete well known addresses for this Coherence cluster.
Create a Well known Address
-
On the Well Known Address page, click Create.
The Configure Well Known Address dialog appears.
-
Enter a Name for your well known address.
-
Enter the Listen Address for the well known address.
-
Click Save.
Edit a Well known Address
-
On the Well Known Address page, click the well known addresses you want to edit.
The Configure Well Known Address dialog appears.
-
Edit the required fields.
-
Click Save.
Delete a Well known Address
-
On the Well Known Address page, select the well known addresses you want to delete and click Delete.
-
Click Ok to confirm the deletion.
For more information about the fields in the Well Known Addresses page, see Configuration Options
Address Providers
The Address Providers page is used to create and delete address providers and configure the socket information for the Provider you created.
For more information about these fields, see Configuration Options
Use the Address Providers page to:
Configure a socket for an address provider
You can configure socket information for the address provider you created.
For more information about these fields on this page, see Configuration Options
From the table on the Address Providers page, click the address provider you created, to:
Parent topic: Address Providers
Delete a socket
To delete a socket:
- From the sockets table, select the socket you want to delete and click Delete.
- Click Ok to confirm the deletion.
Parent topic: Configure a socket for an address provider
Delete an address provider
To delete an address provider:
- From the Address Providers table, select the address provider you want to delete and click Delete.
- Click Ok to confirm the deletion.
Parent topic: Address Providers
Federation
Use the Federation page to configure the Federation environment for that cluster.
Using the federation page, you can configure a remote participant for that Coherence cluster. You may replicate the data present on one server/cluster to the other (local /remote) participant of the federation environment based on the topology selected in the configuration.
For more information about the fields on this page, see Configuration Options
Persistence
Use the Persistence page to save the cache data to the file system.
For more information about the fields on this page, see Configuration Options
Logging
Use the Logging page to configure logging properties for this Coherence cluster.
For more information about the fields on this page, see Configuration Options
Edit managed Oracle Coherence cluster security settings
Use the Security page to configure security services on this Coherence cluster.
Parent topic: Configure managed Oracle Coherence clusters
Services
The Services page displays a table that lists the services configured for this Coherence cluster.
For more information about these fields, see Configuration Options
Use the Services page to:
Parent topic: Edit managed Oracle Coherence cluster security settings
Add a Service
To add a new service:
-
Click Add Service. The Add Coherence Service dialog appears.
-
Enter a Name for your service.
-
Select the Global for the Coherence service.
-
Click Save.
Parent topic: Services
Configure Roles for a Service
To configure roles for a service:
-
From the services table, select the name of the service for which you want to configure roles. The Roles page appears.
-
For more information about the fields on this page, see Configuration Options
While configuring a role for a service, you can:
Parent topic: Services
Create a Role
To create a role:
-
On the Roles page, click Create.
The Create a New Coherence Cache Role dialog appears.
-
Enter a Name for your role.
-
Select a Provider Name for your role.
-
Click Create.
The role you created will be displayed in the table on the Roles page.
Parent topic: Configure Roles for a Service
Edit Role Conditions
The role conditions determine the membership of the role. From the Edit Coherence Cache Role dialog, you can add a condition.
To add a condition:
-
On the Edit Coherence Cache Role dialog, click Add.
The Add a Condition dialog appears.
-
Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The condition you added will be listed under the Add button of the Edit Coherence Cache Role dialog.
-
Select the condition and click Save.
For more information about the fields on this page, see Configuration Options
Parent topic: Configure Roles for a Service
Delete a Role
To delete a role:
-
From the roles table, select the role you want to delete and click Delete.
-
Click OK to confirm the deletion.
Parent topic: Configure Roles for a Service
Configure Policies for a Service
To configure policies for a service:
-
From the services table, select the name of the service for which you want to configure policies.
Select the Policies tab. The Policies page appears.
-
For more information about the fields on this page, see Configuration Options
While configuring a policy for a service, you can:
Parent topic: Services
Add Policies
To add a policy:
-
Click Add.
The Add a Condition dialog appears.
- Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The policy condition you added will be listed under the Add button of the Edit policies page.
-
Select the condition and click Save.
Parent topic: Configure Policies for a Service
Edit Policy Conditions
The policy conditions determine the access control of the Coherence cluster. From the Policy Conditions section on the Policies page, you can add a condition.
To add a policy condition:
-
In the Policy Conditions section click Add.
The Add a Condition dialog appears.
-
Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The condition you added will be listed under the Add button of the Edit Coherence Cache Role dialog.
-
Select the condition and click Save.
Parent topic: Configure Policies for a Service
Remove Policies
To remove a policy:
-
Select the policy you want to delete and click Remove.
-
Click OK to confirm the deletion.
Parent topic: Configure Policies for a Service
Remove a Service
To remove a service:
-
Select the service you want to delete and click Remove Service.
-
Click OK to confirm the deletion.
Parent topic: Services
Caches
The Caches page displays a table that lists the caches configured for this Coherence cluster.
For more information about these fields, see Configuration Options
Use the Caches page to:
Parent topic: Edit managed Oracle Coherence cluster security settings
Add Cache
To add a new cache:
-
Click Add Cache. The Add Coherence Cache dialog appears.
-
Enter a Name for your service.
-
Click Save.
Parent topic: Caches
Configure Roles for a Cache
To configure roles for a cache:
-
From the caches table, select the name of the cache for which you want to configure roles.
-
Select the Roles tab. The Roles page appears.
-
For more information about the fields on this page, see Configuration Options
While configuring a role for a cache, you can:
Parent topic: Caches
Create a Role
To create a role:
-
On the Roles page, click Create.
The Create a New Coherence Cache Role dialog appears.
-
Enter a Name for your role.
-
Select a Provider Name for your role.
-
Click Create.
The role you created will be displayed in the table on the Roles page.
Parent topic: Configure Roles for a Cache
Edit Role Conditions
The role conditions determine the membership of the role. From the Edit Coherence Cache Role dialog, you can add a condition.
To add a condition:
-
On the Edit Coherence Cache Role dialog, click Add.
The Add a Condition dialog appears.
-
Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The condition you added will be listed under the Add button of the Edit Coherence Cache Role dialog.
-
Select the condition and click Save.
For more information about the fields on this page, see Configuration Options
Parent topic: Configure Roles for a Cache
Delete a Role
To delete a role:
-
From the roles table, select the role you want to delete and click Delete.
-
Click OK to confirm the deletion.
Parent topic: Configure Roles for a Cache
Configure Policies for a Cache
To configure policies for a cache:
-
From the caches table, select the name of the cache for which you want to configure policies.
-
Select the Policies tab. The Policies page appears.
-
For more information about the fields on this page, see Configuration Options
While configuring a policy for a cache, you can:
Parent topic: Caches
Add Policies
To add a policy:
-
Click Add.
The Add a Condition dialog appears.
- Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The policy condition you added will be listed under the Add button of the Edit policies page.
-
Select the condition and click Save.
Parent topic: Configure Policies for a Cache
Edit Policy Conditions
The policy conditions determine the access control of the Coherence cluster. From the Policy Conditions section on the Policies page, you can add a condition.
To add a policy condition:
-
In the Policy Conditions section click Add.
The Add a Condition dialog appears.
-
Click the Choose a Predicate drop-down and select a predicate.
-
Enter an Argument Name for the predicate you selected.
-
Click Add.
The condition you added will be listed under the Add button of the Edit Coherence Cache Role dialog.
-
Select the condition and click Save.
Parent topic: Configure Policies for a Cache
Remove Policies
To remove a policy:
-
Select the policy you want to delete and click Remove.
-
Click OK to confirm the deletion.
Parent topic: Configure Policies for a Cache
Remove Cache
To remove a cache:
-
Select the cache you want to delete and click Remove Cache.
-
Click Ok to confirm the deletion.
Parent topic: Caches
Edit managed Oracle Coherence cluster members
The Members page displays a table listing the servers and/or clusters configured to this Coherence Cluster.
For more information about the fields on this page, see Configuration Options.
Parent topic: Configure managed Oracle Coherence clusters
Edit managed Oracle Coherence cluster notes
Use this page to include any additional information that describes the configuration of this Coherence cluster.
For more information about the fields on this page, see Configuration Options
Parent topic: Configure managed Oracle Coherence clusters