Configuring the default dynamic cache instance (baseCache)
The default dynamic cache instance, also known as baseCache, is the default of a dynamic cache instance created by the WebSphere® Application Server dynamic cache service. This servlet dynamic cache instance is used by products such as IBM WebSphere Commerce. Unlike other cache instances defined with WebSphere Application Server, baseCache is specific to a single server or cluster instance. Use this procedure to configure the baseCache instance in WebSphere Application Server for use with WebSphere eXtreme Scale as the dynamic cache provider.
Before you begin
- To use the dynamic cache provider, WebSphere eXtreme Scale Client must be installed on top of the WebSphere Application Server node deployments, including the deployment manager node. See Installing WebSphere eXtreme Scale or WebSphere eXtreme Scale Client with WebSphere Application Server for more information.
- WebSphere eXtreme Scale catalog service domain must be configured. See Creating catalog service domains in WebSphere Application Server for more information.
- A WebSphere eXtreme Scale grid environment, that consists of one or more catalog and container servers must be started. For more information, see Configuring an enterprise data grid in a stand-alone environment for dynamic caching.
- If the catalog servers within your catalog service domain have Secure Sockets Layer (SSL) enabled or you want to use SSL for a catalog service domain with SSL supported, then global security must be enabled in the WebSphere Application Server administrative console. You require SSL for a catalog server by setting the transportType attribute to SSL-Required in the Server properties file. For more information about configuring global security, see Global security settings.
- If you are connecting to WebSphere eXtreme Scale servers that are
configured for NIST SP800-131a compliance, then you need to configure WebSphere Application Server for NIST SP8000-131a compliance as well:
- To configure WebSphere Application Server for standard transition mode, see Transitioning WebSphere Application Server to the SP800-131 security standard.
- To configure WebSphere Application Server for strict mode, see Configuring WebSphere Application Server for SP800-131 standard strict mode.
About this task
- WebSphere eXtreme Scale Version 8.6 is not supported on versions of WebSphere Application Server prior to Version 7.0.
- The following procedure is specific to the remote WebSphere eXtreme Scale dynamic cache topology. All other topologies, including embedded, embedded-partitioned, and local, are now deprecated in WebSphere eXtreme Scale Version 8.6.
- The following procedure assumes that you are using WebSphere Application Server V7.0 Fix Pack 27, V8.0 Fix Pack 6, V8.5 Fix Pack 2 or higher. WebSphere Application Server APAR PM71992 is included in these versions.
Procedure
What to do next
By default, each dynamic cache instance that is configured on WebSphere Application Server corresponds to a dynamic cache data grid that has the same name as the JNDI name of the cache instance. Also, by default, the data for that cache instance is stored in a dynamic map within that dynamic cache data grid, and the suffix for that dynamic map name also corresponds to the JNDI name of the cache instance. For example, if you were to configure a cache instance on WebSphere Application Server with a JNDI name of cache1, then a dynamic cache data grid is created with the name cache1. Inside data grid cache1, a dynamic map named IBM_DC_PARTIONED_cache1 is created to store the data.
In most cases, this configuration does not need to be changed. However, in some circumstances, you might want multiple cache instances, with different JNDI names, to map to different dynamic maps within the same data grid instance. In other circumstances, you might want multiple cache instances, with the same JNDI name, to map to different dynamic cache data grid instances or different dynamic map instances within the same dynamic cache data grid. For example, if you have an application that uses the default dynamic cache instance (baseCache), you might want to use the same data grid for both of your test level and production level environments, while you keep the cached data in separate data grids or separate dynamic maps within the same data grid.
- com.ibm.websphere.xs.dynacache.grid_name
- Use this custom property to specify the name of the dynamic cache data grid instance to which a dynamic cache instance corresponds.
- com.ibm.websphere.xs.dynacache.cache_name
- Use this custom property to specify the name to be used, in place of the JNDI name, for both the dynamic cache data grid name and the dynamic map inside that data grid. If the com.ibm.websphere.xs.dynacache.grid_name custom property is also set, then the value of this property applies only to the dynamic map name.