About Oracle Coherence in Oracle Java Cloud Service

Oracle Coherence is a fault-tolerant, in-memory data management solution for clustered applications and application servers, enabling Java EE applications to predictably scale by providing fast, reliable, and scalable access to frequently used data. You can enable Oracle Coherence for Oracle Java Cloud Service instances to use in-memory data grid and caching out-of-the-box for Coherence applications deployed to Oracle WebLogic Server environments in the cloud.

Topics:

Note:

For clarification purposes in this document and others, service instances provisioned in Oracle Java Cloud Service to use Oracle Coherence are referred to as Oracle Java Cloud Service—Coherence instances.

About Oracle Coherence in Oracle Java Cloud Service and Supported Software Releases

Use Oracle Java Cloud Service to create a service instance and enable Oracle Coherence for the service instance. Depending on the selected software release of the service instance, Oracle Java Cloud Service can also provision and manage the Oracle Coherence cache capacity running on the service instance.

You can enable Oracle Coherence on any service instance by selecting the Enterprise Edition with Coherence option. If the service instance is running Oracle WebLogic Server 12c (12.1.3 or 12.2.1) you can also use Oracle Java Cloud Service to automatically provision, scale and manage your Oracle Coherence cache capacity. If the service instance is running Oracle WebLogic Server 11g you must manually configure and start Oracle Coherence after the service instance is created, by accessing the VMs that comprise your service instance.

When you use Oracle Java Cloud Service to set your initial cache capacity in a 12c service instance, the following infrastructure is added to the service instance:

  • A Coherence cluster, the system-level CoherenceClusterSystemResource, is configured in the WebLogic Server (WLS) domain.

  • A data tier WLS cluster of Managed Servers is provisioned and configured for storing data related to Coherence. The Coherence data tier cluster is created in the same WLS domain as the application tier WLS cluster that's used for running applications.

  • Both the storage-enabled Coherence data tier cluster and the storage-disabled application tier cluster are associated with the Coherence cluster. Thus, all Managed Servers in an Oracle Java Cloud Service—Coherence instance are configured as Coherence cluster members and are referred to as Managed Coherence Servers. The Coherence data tier can be scaled independently of the application tier.

About Using Oracle Coherence in Oracle Java Cloud Service

By enabling Oracle Coherence for Oracle Java Cloud Service when you provision a cloud environment, you can quickly create and configure an Oracle WebLogic Server domain, set up the Coherence cluster, and set up the Coherence data tier and application tier WebLogic Server clusters without worrying about setting up any infrastructure or platform details yourself. You can also use advanced tooling for all major service lifecycle operations such as scaling, backup and restoration, and patching.

As long as you are a Tenant User in Oracle Java Cloud Service, you can perform all operations related to Oracle Java Cloud Service—Coherence instances. All tasks can be performed using the Oracle Java Cloud Service Console.

See Accessing Oracle Java Cloud Service for details about how to sign in to use the Oracle Java Cloud Service Console.

To start using Oracle Coherence in Oracle Java Cloud Service, refer to the tasks in Workflow for Using Oracle Coherence in Oracle Java Cloud Service as a guide.

To use the REST API to create and manage Oracle Java Cloud Service—Coherence instances, see REST API for Oracle Java Cloud Service.

About Oracle Coherence and the Compute Environment in Oracle Java Cloud Service

When Oracle Coherence is enabled for a service instance in Oracle Java Cloud Service, the Oracle Compute VM deployment topology is similar to the topology for a service instance that doesn't have Coherence enabled, with the addition of VMs and Managed Servers for a Coherence data tier.

When enabled for a service instance, Oracle Coherence is built on top of infrastructure and functionality created for Oracle Java Cloud Service:

  • The Oracle Coherence Enterprise Edition software is installed and configured within the Oracle Java Cloud Service environment.

  • All the underlying infrastructure work involved in setting up and managing the compute VMs, network settings, and storage resources to run applications is done for you.

  • The Oracle WebLogic Server (WLS) domain, Coherence cluster, and WLS clusters are set up for you. All the Managed Servers you need are also created, configured, and started automatically for you when provisioning of the service instance is complete.

The following illustration shows the Oracle Java Cloud Service VM deployment topology that is set up and configured for you when you provision an Oracle Java Cloud Service—Coherence instance. The example uses a cluster of two Managed Servers for the application tier (storage-disabled), and the default SMALL capacity unit for the Coherence data tier (resulting in a storage-enabled cluster of three VMs and three Managed Servers):

Note:

For information about the network protocols and default ports that can be used from within Oracle Cloud and from outside Oracle Cloud, see Understanding the Default Access Ports. Note that the HTTP port is disabled if you created the Oracle Java Cloud Service instance by using the service instance creation wizard available through the Oracle Java Cloud Service Console.

As shown in the illustration, an Oracle Java Cloud Service—Coherence instance is a single WLS domain that consists of the following resources:

  • One WebLogic Administration Server

  • One Coherence cluster (the system-level CoherenceClusterSystemResource). The default name is DataGridConfig.

  • One application tier WLS cluster of storage-disabled Managed Servers for running application cache clients. EAR files, containing application WAR and Coherence GAR files, are deployed on the application tier. The example in the illustration shows two Managed Servers in the application tier cluster.

  • One data tier WLS cluster of storage-enabled Managed Servers for running cache servers. This is the Coherence data tier. By default, the cluster name of the Coherence data tier is generated from the first eight characters of the service instance name using the following format: first8charsOfServiceInstanceName_DGCluster. Coherence GAR files are deployed on the Coherence data tier. The example in the illustration shows three Managed Servers in the Coherence data tier cluster.

  • Both the WLS cluster for hosting applications and the WLS cluster for storing Coherence data are associated with the Coherence cluster. Thus, all Managed Servers are members of the Coherence cluster.

For information about the VMs and the Managed Servers contained in each VM, see About the Virtual Machines.